Hi. I've got two toolstrips on my form. What I want to be able to do is to move their positions around using the Grip, putting, for example, one above the other or to the left of one. But I can't find any properties that allow me to drag the toolbars. I thought maybe you'd have to...
I m devloping Window Application using C#.NETI have one DataGridView which have Name and City Columns. The data comes to DataGridView Via entering data in to the text box. means first enter in to textbox and then cilk on button named "Add to List" so data inserted into DataGridView. I also done...
hi:<br/> What Is the Equivalent of index as in vb6 to C#?<br/>say I have 55 Textboxes, I need to place 50 data in only 50 textboxes, the remaining 5 are for other usage. How can I approach this ?<br/>(It is easy using index in VB6)<br/>Thanks
Hi:<br/> I'm new to this, I read thru some example from MSDN:<br/>I'm wondering what does this (int) meant?<br/>Initialized e.Argument as Integer?<br/>"int arg = (int)e.Argument;"<br/>Thanks
153 byte By
gago at 2007-12-5 11:52:14
hi guys!<br/>i am beginning with xml document.and i have a question:<br/>how can i execute a sql query with a DataTable in xml document<br/>thanks alot !
604 byte By
SLH at 2007-12-5 11:51:48
Lets say that i've got a path (or file): "D:\Games\WhaTeVer"I want to get from an uncapitalised string such as "d:\games\whatever" to the Capitalised version (i.e. the actual file\folder).Anyone know how to do this. I've had a look at the Path, Directory and DirectoryAttribute classes,...
384 byte By
daimous at 2007-12-5 11:50:16
hi guys! help please...I want to develop a window application that could login a specific user if he/she opt to and provided his/her windows login username or password. How can I pass a value (username & password) to the Windows Login window or screen and login the specific user if he/she provid...
I have a Bitmap object within my app named canvas. How would I go about saving canvas as an image to the path specified by my SaveFileDialog?
Hii need to get all range names in an excel sheet as i am working with charts.i need to get rows of a named range table and insert rows into it.if i am considering sheet it is displaying all the rows included charts which are in another namedrange.please help me in resolving thisThanks and Regar...
I have 2GB ram, and I checked that the taskmanager and I have more than enough memory left. I tried to ReadToEnd() a file that has 194 mb. Yet as soon as it passes the code, the returned string is a null. The file exists, and I tried other files(which are smaller) and it works. The code is a...
920 byte By
cfirex at 2007-12-5 11:47:05
Hi folks,I've a dubt.If I use a query with named parameters like this :string query = "insert into test(name,age) values(:name,:age)"where name is a varchar2 and age is a number(3), If I do this :int age=29;string name="Phil";OracleCommand myComm = new OracleCommand(sql, myConn);myComm.Para...
Hello<br/>I have made crystal reports and I have include crystal report viewer in my forms,<br/>Now what is the method to display the reports.<br/>Thnx<br/>Rgrds<br/>A. Haider
298 byte By
daimous at 2007-12-5 11:44:25
HI guys! is there any best practice in declaring variable in C#.net? Is it more efficient to declare all the variables that you will be using in your functions just outside it or in a place where when the application starts all the variable declared will be executed/initialized? Thanks in advance!
Good day,<br/>It's me again,<br/>How can i show a progress bar while loading data to a textfile. <br/>And showing this text to a label: "Record <row number> of <total row><br/>Thanks.
199 byte By
daimous at 2007-12-5 11:41:44
Hi guys help please..I have a variable string 'myVar' with value 'MYSTRING", my question is, what is the easiest way to convert each character into hexadecimal? Thanks in advance guys!
337 byte By
gjon at 2007-12-5 11:41:13
I am hoping someone can point out what to begin with to try to have an application grab the local computer's ip address and then send it to a computer at a known ip address.Any ideas or suggestions would be appreciated.If there's already a free tool that does this, that would be fine t...
Hii should update workbook with some raw data and should savethat workbook for sharepoint purposei need code in c# for updating workbook with data and save that workbook.if file already exists it should override the content.not the whole file.Please help me in resolving this issueThanks and Rega...
316 byte By
Jlarini at 2007-12-5 11:40:52
Hi, there! I'm in trouble using WM_VSCROLL/WM_MSCROLL in ImgEdit (and others Windows Messages) with an Kodak ImageEdit in C#. Using the Form KeyUp event. I've tried a lot of ways, and now, I have no clue anymore... :(Tks in advance every help! :) :) :) Joo Luiz...
85 byte By
high6 at 2007-12-5 11:38:46
Was wondering is there are any tutorials around on making simple scripting languages.
136 byte By
Jedidah at 2007-12-5 11:38:22
Please can anyone help me with the code for sending emails from a c# web app to a domino lotus inote.Any help atall will be appreciated.
1153 byte By
effekt26 at 2007-12-5 11:38:03
Hey everyone, Im having trouble inserting a date into sql server. I get the following error when I run my stored procedurem which i am guessing is returned from the SQL ServerImplicit conversion from data type datetime to int is not allowed. Use the CONVERT function to run this query.I am in aus...
Lets say I have this:class classX{int name;int age;}class classY{classX obj;}If I were to declare "classY y", and then put "y.name" as a parameter, it will crash because "y' was not initiated. Is there a way so that it does not crash? I know I could use "try...catch", but it could get mes...
47 byte By
k_glitch at 2007-12-5 11:37:14
is it possible to creat a dynamic control array
Ok, I am writing a sort of editor, and I am trying to implement simple Syntax highlighting. Basically all i want to do is search through a rich text box as it is typed into, and find and bold certain words, but i am unsure as to how i would do this. Thanks in advance.
I have an expression to calculate and I am confused between Math.Pow() or Math.Exp().<br/>Expression to be calculated:<br/>1-(1-CPR)^(1/12)<br/>where ^ is exponential (works in excel).<br/>thanks<br/>nath
I did a quick search on the forum and didn't find what I was after. I have a user control that I'm calling CheckTextBox. It works pretty nicely, but it's supposed to be a fixed-height control. Right now I have minimum and maximum sizes set to prevent resizing vertically, but the h...
Hi all :wave: What is the best method to update a data row, here what I am doing is searching the row from the datatable , then deleting the row and after modifying the row adding the row again.But I am getting error when I am trying to delete the row the error saying thatThis row has been remov...
Good day, I have a textbox with a default value of .00All i want to do is if I have to enter a number BEFORE ".", it should be from right to left, And after the ".", it should be move from left to right, making the default "0" replace by the new number. Like as show below:<-- -->123456...
82 byte By
k_glitch at 2007-12-5 11:28:05
is there any alternate of seltext(vb) for C#<br/>thanks bros in advance:wave:
I am trying to use data adapter to insert records into a table. but for some reason, no records get inserted. The data base is oracle.DataGateway aDataGateway = new DataGateway();OracleConnection aMbsfas91Connection = aDataGateway.GetMbsFas91Connection();aMbsfas91Connection.Open();OracleDataAdap...
305 byte By
Beasts at 2007-12-5 11:26:12
i know how to draw lines using gdi+ but this is sorta hard as i am new to c#. can someone explain to me this a little bit and also tell me how to draw lines 45 degrees on a picturebox with a distance between them...sort of like this pattern http://img529.imageshack.us/img529/6797/321rn4.png...
140 byte By
zdavis at 2007-12-5 11:26:01
Is there anyway to programmatically change the name of a file. I can change the extension but not the name. <br/>thanks, <br/>-zd
93 byte By
Yoosha at 2007-12-5 11:25:57
Hi,<br/>I need ADO .Net connection/Insert/Delete/Update codes(Pure code).<br/>Very thanks. :)
123 byte By
Yoosha at 2007-12-5 11:25:44
Hi,<br/>1) How to show grid in V.S. .Net like VB 6.0?<br/>2) What is ABBREVIATION INI file(Ex.: Settings.ini)?<br/>Tnx :).
100 byte By
Yoosha at 2007-12-5 11:25:30
Hi,<br/>I need a best collections of C# functions/utility functions. How can i find its?<br/>Tnx. :)
398 byte By
Jedidah at 2007-12-5 11:24:00
I am trying to send an email in a domain using c# but there is this error message that the transport cannot find the server.They gave me the username as DOMAINNAME/USERNAME and the mail server as 19.4.2.90 and I just don't know why or where the cause of the error is.Can anybody help? Becaus...
I've found need for a certain functionality several times thus far... namely, a check box that controls the enabled state of a text box. Granted, making the code for this isn't very difficult. But I'm wondering... what would I do to make a new control for it? Call it, say, CheckTe...
908 byte By
Deus Ex at 2007-12-5 11:22:41
I hope this is the right place for this :PWell, I'm programming with Visual C# 2005 Express with XNA.I already have a Arkanoid working, but with two players at once. Until here, it is kind of OK. What I want to do now is to add some weapons, but I'm really blank right now. I have class...
Hi all :wave: I am passing a date in the property then some time I am getting error that string is not in the valid date format.In the Text box my date is in "dd/MM/yyyy" Format!I am working in the web application.Thanks eventCalender.Event_Date = Convert.ToDateTime(String.Format("{0:dd/MM/yyyy...
:) hello pple.. i like to know the coding for linking of database from microsoft excel. i using microsoft visual studio 2005. thanks lots...
Hi!I've been looking/reading around for this for most of the day, and have been unable to find answers suitable, only 'Reflection is what you need, read about it here xxxxxx'. So I have, but I don't understand it...It basically says I should create an instance of the function...
230 byte By
zdavis at 2007-12-5 11:18:56
Hey Everyone, <br/>I am writing a windows form application that will require the user to be logged off after 15 minutes off inactivity. Does anyone know how to do this or where i should start. <br/>thanks, <br/>-zd
A little behind the point, probably, as I'm already using it.. but I'm still curious as to exactly what it is and why it's unsafe. As it is right now, I'm using unsafe code for drawing pixels. Pointer uints and the like. I know I have to declare it an unsafe class and compile...
212 byte By
Techno at 2007-12-5 11:15:55
in a treeview, when I have searched all the current node's child nodes and when it finds an item it needs to find in the childnodes, how can i continue searching going back up one level and just carrying on?
575 byte By
Techno at 2007-12-5 11:15:07
I am trying to create a "filter" type treeview search where, when you start typing in a textbox, it will go to that treenode.so if I had:ffifishfishefisherand start to type "f", it would go to the first instance found of nodes beginning with "f", and if I typed in the next letter, it would highl...
438 byte By
cfirex at 2007-12-5 11:14:15
Hi, I've a color pick dialog form, and I need which color is selected by the user and get the name.I see that some colors have the Name property set to a system color name (yellow, red, etc...) but some others are in the RGB style.How can I do, to get a valid name or show only a set of colo...
262 byte By
dekelc at 2007-12-5 11:13:36
Hello!<br/>I use a webbrowser control in my application.<br/>I then tell it to navigate to a url.<br/>I want to continue in the same procedure when the webbeowser finishes the download of the page.<br/>Can this be done?<br/>Thanks!<br/>:wave:
2689 byte By
steve_rm at 2007-12-5 11:12:18
HelloI am trying to hide some columns in a datagrid. The datagrid is bound to a typed dataset data source.This is the code I have used to set the column width to zero. However, as there are many columns to hide I get left with a bold black line where the column should have been. So the customer...
106 byte By
dekelc at 2007-12-5 11:12:10
Hello<br/>Can I know the length of a movie in an <object> tag?<br/>Thanks!<br/>:wave:
183 byte By
dekelc at 2007-12-5 11:12:08
Hello!<br/>How can I get the information of an image on the web?<br/>I need to know the size of the image...<br/>Do I need to download the image?<br/>Thanks!<br/>:wave: