Topics
-
-
- Administrators
- 5 replies
- 1.1k views
This will move one to a given location pic2.Location = New System.Drawing.Point(175, 252) pic2.Visible = True But I want to create them and I would like assign the locations based 2 things 1. Mouse click ...... 2. but would also like doing this using variables o an array of coordinate integers I tried this to create ... Dim pct As New PictureBox() pct.Location = New System.Drawing.Point(177, 228) pct.Size = New System.Drawing.Size(5, 5) pct.BackColor = Color.Red pct.BringToFront() Me.Controls.Add(pct) but I couldnt figure out how to ad the handler or assign address of for a picture box not evn sur if this is …
Last reply by vbMarkO, -
-
-
- Leaders
- 2 replies
- 1k views
Hi. For some reason i am getting 'Type 'Items' not defined' in bold and i am not sure why. Anyone here can help? For Each i As Items In ListBoxControl2.Items My.Computer.FileSystem.CopyFilei.name, "C:\SFE\Temp\wallpaper\" + i.shortname) Next Many Thanks Worf
Last reply by Worf, -
-
- 0 replies
- 2k views
Heyey I'm trying to get a menu button as in http://www.mscui.net/PatientJourneyDemonstrator/PrimaryCare.htm but within windows forms as a user control instead of SilverLight 2 (patient record -> menu button on the top left) It is like a rounded button, and when clicked a set of buttons move around that button, with a gradient background to indicate the control is on top of the others. I want such background effect within a panel of mine but a gradient from black to transparent just won't work within the usercontrol After several hours of searching I came across a few threads as http://www.xtremedotnettalk.com/showthread.php?t=70106 http://social.msdn.mic…
Last reply by DPrometheus, -
-
- Administrators
- 3 replies
- 764 views
Hi there, This is my first post here, and I hope I'm posting to the right section of this forum. I am seeking help for building a document-centric application. More specifically, handling extensions and icons for the different file types the application is going to manage. I know how to register extensions within windows, but I'm just unsure how to do it inside my own application! My current design is something like this: Each document has it own class (the documents are actually just the objects serialized, gzipped and stored on the disk). Those can be extended through a plugin system (with external dlls being loaded during runtime), so the number of file typ…
Last reply by PlausiblyDamp, -
-
- 3 replies
- 647 views
now, I want to delete one record on datagrid when I checked checkbox. there is a checkbox on datagrid. for example; if I checked checkbox on second row. The second row will deleted.(button click event) how can i do this...
Last reply by highboy, -
- 2 replies
- 972 views
Here is my problem, my client has several customers who send him xml files. I need to dump all those xml files data into an existing table (insert and update depending on key) The problem the all xml do not have the same structure, i.e there are a few common that every xml has , but they are others that the customer may or may not fill depending on his choice. For Example Customer 1 XML might have the following <root> <product> <PrimaryField1>111</PrimaryField1> <MandatoryField2>aaa<MandatoryField2> <MandatoryField3>bbb</MandatoryField3> <ExtraField1>extrainfo</ExtraField1> <ExtraField3>extrai…
Last reply by jvanamali, -
-
- Administrators
- 3 replies
- 731 views
I was adding a new form to an existing project in VS2005 the other day, and I took some time to look at all of the different types of objects I could include. One item in the list was an "Interface". I tried looking in the help under selecting items, but there was no information on what an "Interface" was. Could someone tell me what an Interface is?
Last reply by Nate Bross, -
-
- 1 reply
- 1.9k views
Here is what I am want to do. Receive data from a serial port or TCP and have my applicatoin send a MIDI note to the MIDI interface on the computer. I know that I can buy a controller but in my situation that is too bulky. I have been looking for examples on how to program this but I haven't found a good example of this. Can any one help and lead me int the right direction? Thanks ZeroEffect
Last reply by Nate Bross, -
-
- Administrators
- 6 replies
- 1.5k views
Hi. I am a newbie when it comes to programming and what i have done so far with my application is through sample codes, tutorials and with the help of fellow programers. I am trying to pass data and file paths from one listbox1 to listbox2, now i can pass data from listbox1 to listbox2 but i am having problems with the paths to the files listed in the listbox's. The paths to the files are not shown in the listboxs, only there filenames. My program will search a selected drive or folder for .wav files and list any found in listbox1 without there paths, (only there file names), now i have an add button so that the user can select an item in listbox1 and add it to l…
Last reply by Worf, -
-
- 2 replies
- 1.6k views
Hi, I got a form with a listview and a button [compiled in VS2008]. In Xp, it works normal. But running under Vista, whenever I mouse click,key press inside the listview, I got a 'ding' sound. It becomes very annoying when using cursor key to go through the list. Anyone know how to stop the sound effect(beside turn down the volume)? Thanks in advance.
Last reply by Worrow, -
- 0 replies
- 508 views
i want to validate the check box present inside the datagrid... checked or not... asp.net using c#
Last reply by kulandaivel_mca, -
-
- Administrators
- 3 replies
- 2.1k views
Hi, I want to create a login page which authinticates the users from the active directory. The requirement is that if the user is loged in to the windows through the active directory account then he has not to provide the user name and password other wise he has to provide the both things. The user's active directory group is maped to the application's roles. First i have to check the user's Active Directory Group and then get the role of the user for application. Can you provide me the best solution for how to do this because I am not sure how to authinticate the users in the login page. Regards,
Last reply by jamilehy, -
-
- 3 replies
- 1.7k views
Hi, I programming a windows forms application with visualC++ 2008 Express Edition. I have a button event that triggers a folderBrowseDialog component to open. When the user chooses a folder, the dialog closes and the application hangs indefinitely. Heres the code button2_Click(System::Object^ sender, System::EventArgs^ e) { System::Threading::Thread^ temp = gcnew System::Threading::Thread( gcnew System::Threading::ThreadStart(this, &FormApp::Form1::folderDialog)); temp->SetApartmentState(System::Threading::ApartmentState::STA); temp->Start(); temp->Join(); } private: void folder…
Last reply by magicRoot, -
-
- Administrators
- 1 reply
- 750 views
Long ago, I was told in VB6 if you had a rare instance where sometimes the execution of a sub wasn't quite finished (because of buffers and/or where you were using DoEvents to help the program "catch up" to what it's been told) that you should change it to a function because it will completely finish everything before releasing control back to where it was called. First of all, is that true in VB6? And second, is that the case in .NET?
Last reply by PlausiblyDamp, -
-
-
- Administrators
- 4 replies
- 1.6k views
Hey there, Lately I'm working on some paint program in vb.net but the floodfill algorithm (such as the bucket tool in MS paint) gives me some problems. I do the tool as follows.. I create a new stack object, and from the point where the user clicks, it goes all the way to the top of the image, and checks colors accordingly. So it finds the boundary with another color or the boundary with the current selection. The it goes down in a while loop and checks if the right / left neighbours needs a repaint as well. If they do, we put them on the stack. The algorithm works nicely, but if I open up taskmanager the memory allocated by this component grows dramatically (sometim…
Last reply by DPrometheus, -
-
- 10 replies
- 3.2k views
I am using the following HTML code to manage my page. The problem is that the radio button "rbShowWearersAll" will not fire its event. Am I doing something wrong? the other four work perfectly <asp:RadioButton ID="rbShowWearersAll" runat="server" GroupName="showWearers" oncheckedchanged="rbShowWearers_CheckedChanged" Text="All" AutoPostBack="True" /> <asp:RadioButton ID="rbShowWearersActive" runat="server" oncheckedchanged="rbShowWearers_CheckedChanged" GroupName="showWearers" Text="Active" AutoPostBack="True" /> <asp:RadioButton ID="rbShowWearersInactive" runat="server" oncheckedchanged="rbShowWearers_CheckedChanged" GroupNam…
Last reply by IxiRancid, -
- 0 replies
- 710 views
My report gets generated very fast, but then if I switch to "PrintLayout", it grinds and grinds before giving me the new view. The report is only 2 pages long, so this seems odd. I read that there are some known issues with printing being slow, but does printlayout fall under this same thing? It does the same thing when I click "page setup". Any ideas to speed it up? Dave
Last reply by daviddoria, -
-
- Administrators
- 5 replies
- 996 views
Hi, I wanna save and load my color selected by ColorPicker like this: SaveSetting("MyApp", "Style", "Color", ColorPickerButton1.SelectedColor.ToString) ColorPickerButton1.SelectedColor = Color.FromName(GetSetting("MyApp", "Style", "Color")) The color I am loading from the settings does not get loaded correctly. Perhaps in converting or something else. Please help me :(
Last reply by PlausiblyDamp, -
-
- 1 reply
- 926 views
hi, i Have developed one form using ASP.NET 2.0 with C#, In this form i am binding some data to the grid view which need to approve by admin in this i have used a hyper link button to select one row of data to approve in the hyperlink i am redirecting the form to another where i am displaying all the data, in this page admin do approve. the grid view form is not binding properly please let me know what i have to do for a one time refresh of the while loading?
Last reply by Nate Bross, -
- 0 replies
- 554 views
I've got a gut feeling the RSACryptoServiceProvider generates a key or key pair upon creating an instance. Is this true? I need to use the RSA.. class to use my own keys (which I know how to do, by the way) and do not want it to spend time creating keys that will never be used. Especially considering a key container can only be provided to the provider using the constructor (FAFAIK at the moment) Does it store it's own key in the registry before storing mine when I use the .FromXML method? Info on the web is quite sparse. Of course I find some extra info right after posting: the constructor creates a new key, if no default key is available. Next question is; what is…
Last reply by ppc76,
-
Who's Online 0 Members, 0 Anonymous, 47 Guests (See full list)
- There are no registered users currently online