-
- 'IndexOutOfRangeException was unhandled' ??
by RubenPieters
- 14 Replies
- Last post
by RubenPieters
- Database1DataSet myInstance = new Database1DataSet ();
object Timo = myInstance.Tables[ "Table1" ].Rows[0].ItemArray[0];
so this is my code (still :p) but it says 'IndexOutOfRangeException was unhandled' but why does it say that error its not under 0, the number is 0 so is the first row (cant be too high), and what do they mean with: 'Make sure data column names are correct'
-
- What is Remoting?
by RavindraDonkada
- 2 Replies
- Last post
by RavindraDonkada
- Hi,
This is Ravindra working on .Net,
Please anybody give a simple defination about remoting and what is the difference between remoting and webservice
or else pls specify the links.
thank u,
Ravindra
-
- PictureBoxes in a loop
by VS___Programmer
- 2 Replies
- Last post
by VS___Programmer
- I am stuck and I need an answer.
I don't know how to programmically access different pictureBoxes without accessing each one by name. I don't want to access all of the boxes in the form.
heres the code:
void editPics(int box)
{
pictureBox[box]. Location = new Point(box * 10, 100)
}
THis is what I tried, but it doesn't work.
Thanks for replying.
-
- Two Comboxboxes are somehow connected
by ECList
- 5 Replies
- Last post
by ECList
- I have two Comboxboxes that are mysteriously interacting with each other. When I change one, the other one's selected index changes to the same relative selection as the other. So if I select the item that is the third down in one box, the item that is the third down in the other is selected.
I have searched my entire solution for any coding mixups that mention the names of these two listboxes
-
- Week Number. Profile edit or change?
by Cesar Francisco
- 4 Replies
- Last post
by Cesar Francisco
- Week starts on Tuesday of January of any year, starting
with 2007 and is not rolling over to the next year. The year ends
around the Christmas holidays.
Any idea.....somebody
-------------------------------------------
Alternative:
Can the monthly celandars displayed on a Form set to
January, February, etc. without reverting to the current month
-
- is there a way that i can make a basic key logger
by sankramellow
- 2 Replies
- Last post
by sankramellow
- is it possible to make a key logger for my computer so i can monitor my child's Internet activate and see if he is looking at like it hides and than i press like shift + ctrl + g and it comes up with the logs
-
- generic class questions
by lawwz
- 2 Replies
- Last post
by lawwz
- I wrote the following simple class below to clear up some points.
The class below that is from a book, and I am using it to try and make the code clear to meĦ
Can people please comment on what I am saying, I am sure a lot of it wont be accurate.
My comments:
The class below has a defualt and non default construct used to create instances of the class student.. Wi
-
- Drag and drop a photo onto my form
by robhare
- 6 Replies
- Last post
by nobugz
- Goodday All
Please could someone help me with a tutorial for designing a form (and the syntax )for draging and dropping a photo onto my windows form .
This for the end user to add photos to a form and be able to save this for future referance.
Thanks
Rob
-
- Sharing info from Windows Forms
by Carlo Rivolta
- 7 Replies
- Last post
by Ken_L
- I create 2 forms. Inside form #1 I have inizialized a class (I built) which works with a COM. On this form there are some button for that.
I would use the form #2 with the same class without inizializing again.
I would open form #2, insert the information and then use the class istanziated into form #1 to communicate ( to send via COM).
How can I use my class
How can I pass the inf
-
- serial port in C# (Overflow in hex? ASCII?)
by emily_hf
- 6 Replies
- Last post
by emily_hf
- This C# program is use to convert decimal to hex and send through serial port in ASCII characters. For example: I try to send a string variable in Hex format which i need to convert to a standart ASCII string; eg hex of "70d9b7" where "b7" is the checksum of 2's complement. i have some problem in convert the "d9" and "b7" to the correct ASCII string as the A
-
- Oh... no
by Sword
- 14 Replies
- Last post
by Sword
- I've installed VC++ EE 2005 a long while ago. It gives me problems with any name like "HelloWorld" (I did not use quotes) and the problem is on VWD too--but only after installing it. Can anyone help me
-
- Creating new object if one already exists
by cdude20
- 14 Replies
- Last post
by ReneeC
- I am trying to setup a timer. I want the first timer to name itself timer1 unless there already is a timer1, then it should name itself timer2. If theres a timer2, then name timer3, and so on. I would like this to continue maybe up to timer6 i guess. What kind of loop would I use for this, a code sample would be nice. The idea is to get each timer running separately. The timer is going to be set f
-
- How to make settings for your application
by ChrisMoje
- 3 Replies
- Last post
by ChrisMoje
- Dear Gurus, Please help me on how to make my application settings remember what has been changed in the application before closing it. One example is the radio buttons, check buttons and textbox contents. During initialization, the application should read the last settings and apply it on run time. Thanks in advance peeps
-
- Help Clearing All Textboxes and All Comboboxes
by GAtkins
- 14 Replies
- Last post
by ReneeC
- Greetings:
I found this helpful code elsewhere on the forum, but it is only working on the Combo Boxes and not the text boxes on my Form1.
Currently I have 4 textboxes and 3 comboboxes on my form.
In the editor, when I hover my mouse over "ComboBox" it says "Class ComboBox" and when I hover my mouse over "TextBox" it says "Interface TextBox.&qu
-
- folderbrowserdialog problems
by BabaG
- 2 Replies
- Last post
by BabaG
- i'm trying to make a simple button and text field to select a folder path and am getting errors with the following code: //Set Receiving Folder Button and Actions ------------------------------------ private void ReceivingFolder_Click(object sender, EventArgs e) { new FolderBrowserDialog().ShowDialog(); ReceivingFolder.ShowDialog(); ReceivingFolderDisplay.Text = Folde
-
- Submit button w/ keyboard focus
by pat562456
- 3 Replies
- Last post
by pat
- I'm using Visual Studio. I have a form with several controls (buttons and textboxes); one of which is a "Submit" button.
How do I get the form to capture the keyboard "Enter" button and make it fire the form's "Submit" button's event handler regardless of which control on the form has focus. (e.g. - if the user is typing in a text box and presses the enter key
-
- Linking VB and C# solutions together...how??
by alphonso
- 8 Replies
- Last post
by spotty
- Hi,
I'd like to link two solutions together, one coded in VB, while the other coded in C#, but they're not yet published programs; they're still being coded. How do I do this Thanks
-
- save text in textboxes
by Bra49er
- 11 Replies
- Last post
by js06
- I want to save text in the textboxes using a save button BUT i don't want to save it to any files just in the textboxes until its changed by the user and saved again so that everytime the application is executed the text will still be there. would this be a property of the textbox or is it even possible to do this. I really don't want to use a database or lists or files just the same text in the t
-
- Trouble with /MT and /clr
by stottle
- 5 Replies
- Last post
by stottle
- I'm struggling with something that is probably obvious, but I can't find the answer.
I'm trying to use an SDK that provides a static C++ library with a header file. I don't have the source code. I've built and tested using the SDK in VC++ 2005 express using the /MT switch. That is working fine. My problem is that I'd like to access the SDK from managed code (C++ or C#). I'm sure this has be
-
- Error handling question from a newbie
by aldim
- 9 Replies
- Last post
by Solitaire
- I just started the VB Express 2005 course and cannot get the example code from the Try..Catch..Finally block to work. Example code works if a number is entered but when I input characters I get a "System.InvalidCastException" error. What is missing from the Catch portion of the example code All help greatly appreciated.
Example code for Try..Catch..Finally error handling routine
-
- Command line error D8016
by EpsilonZX
- 6 Replies
- Last post
by Bill Tubbs
- I'm new to Visual and I just started programming...
My problem is that when I turn a program into the
Multi-Thread (/MT) form under the Runtime Library
this error comes up when I build it:
Command Line Error D8016: '/MT' and '/clr:pure' command-line options are incompatible
Please help...
I made this program 3 times and each one didn't work...
I have to have it for school...
-
- Problem when copying objects
by Meldor
- 1 Replies
- Last post
by IsshouFuuraibou
- Hi all, I would like to copy an object that is composed by two Lists of other classes defined by myself into another object of the same type, but I encounter a problem: when I modify the copied object, even the original object change. I thought: it is normal, since it is a reference type, but is there a way to make an indipendent copy of a custom object
-
- Treeview Datagrids
by Rowix
- 1 Replies
- Last post
by Martin Xie - MSFT
- Is it possible to create treevieuw datagrids as Access 2003 does with related data
- Datagrid record 1
- Datagrid Detailes record 1
+ Etc.
+ Datagrid record 2
-
- MCAD 70-306 Certification
by advind
- 3 Replies
- Last post
by spotty
- Who got any ideas for this examination I need some information for this.
-
- Make rich textbox color transparent?
by Pitchec0934
- 3 Replies
- Last post
by WayneSpangler
- Hi there. Im making a stickynote program. I really need help...
Im making the note a graphic, and wanted to have a gradient. The problem is this. When i make it, i can only set the textbox as one color.
Is there a way i can make it transparent so it shows the gradient underneath on the form's background
Thankyou!