|
but i really want to hide the first form:P
|
|
|
|
|
Hello All,
I am working on VS.NET 2005 and using datagridview control provided by it.
I need to make a column just like if you see the datagridview property 'Columns' it has some text and a (...) button such that when you click on (...) button it opens a lookup form on which you can define your own columns.
Please help me it is urgent
Regards
Mubashir
|
|
|
|
|
Hi i am having a problem in following code, in this code i am trying
to start a splash screen then do some work (here i m just sleeping the
thread), then close splash and start second form. problem is that when
first form closes, focus drops to anything under it, Visual Studios if
i m debugging or explorer when running exe. how can i get focus to my
second form.
static void Main()
{
frm = new Form2();
Thread splashThread = new Thread(new ThreadStart(startThread));
splashThread.Start();
Thread.Sleep(2000);//For checking
frm.Close();
Application.Run(new Form1());
}
public static void startThread()
{
Application.Run(frm);
}
|
|
|
|
|
the call is not made correct.
call the splash screen in the Form1 in the page load
and call the form1 in the above code.
that should solve your problem
Regards.
Sudhakar D P
|
|
|
|
|
thanx man it solves the problem.
|
|
|
|
|
.
.
.
frm.Close();
Form1.Focus();
Application.Run(new Form1());
.
.
.
_____________________
Proud to be Albanian
_____________________
|
|
|
|
|
I downloaded the program BlogWebCam-cs given on this website to have a webcam stream into my GUI. I had to cut and paste of course to work with my code and it compiles without errors. When I first started the program it gave the message can not find WIA camera came up. Now when I run the program I get nothing out of the panel that should display the streaming web cam. Any info on this would be greatly appreciated!
-Jared
|
|
|
|
|
i am using list controll and every thing is right before i shift columns but when i try to shift any column of this list ctrl then hides the scroll bar.
can any body told me what i have to do for showing scroll bar allways not hides any time.
Bankey Khandelwal
Software Engineer
|
|
|
|
|
hi,
Please specify wich List are you referring to a list View or a ListBox...
this.listBox1.ScrollAlwaysVisible = true;
this.listView1.Scrollable = true;
And if you can give more details...
|
|
|
|
|
i am using list view but there is no such method or variable .
Bankey Khandelwal
Software Engineer
|
|
|
|
|
Well can you give more details on the ListView you are using on Which(Details,largeIcons,....etc)
and any more details that can help...
thnx
|
|
|
|
|
Im trying to create a website where users can run different databases on. I debuged the app using a static sql connection, but now im stuck. How would i make a dynamic sql connection where the user can choose from wich database to work from, before the app is executed ?
|
|
|
|
|
hi,all
I want a self-defined type pointer to be returned from my COM object to C#. and then use the pointer to initialize another COM.how should I do?
regards
Vincent
-- modified at 2:41 Wednesday 29th March, 2006
|
|
|
|
|
When i am adding pivot table component in Visual Studio 2005, it is getting added but seen as passive, not active.I right clicked the toolbox in VS 2005 and clicked Choose item.
I selected COM components, and under that i checked against Microsoft Office Pivot Table 10.0 and 11.0.
It is listing in the toolbox but not active.So i cannot use it in the web page.
Can anyone suggest how to make the control active in Toolbox.
|
|
|
|
|
arobind wrote: It is listing in the toolbox but not active.So i cannot use it in the web page.
Can anyone suggest how to make the control active in Toolbox.
Of course it wont work on a web page, it's a WinForm control, not a WebControl...
|
|
|
|
|
|
Hi,
I have to pass a string to a TCP\IP port.Which class i should use.
|
|
|
|
|
Check out TCPListener, NetworkStream and StreamWriter classes.
|
|
|
|
|
Hi,
I have to pass a string to a particular port.Which class i should use.
|
|
|
|
|
See some links if you found usefull.
http://www.codeproject.com/csharp/testingsocketservers.asp
http://www.codeproject.com/csharp/socketsincsharp.asp
http://www.codeproject.com/csharp/binarydatausingsocket.asp
http://www.codeproject.com/csharp/chandrasekar.asp
Before asking question search on articles/comments.
Divyang Mithaiwala
System Engineer & Software Developer
|
|
|
|
|
i have to get a sring of data from GPS device and parse that to extract longitude and latitude from that string.are there any API's which i can use to do it.
|
|
|
|
|
CodeProject -> Search -> GPS
--------------------------------------------------------
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Hi ....everybody
I have two forms the first form is the main form .it has textbox and the second form has a datagridview I want when i click the current cell send it's value to the text box in the main form.
I have already done the code to get the current cell value but I couldn't send the value to the main form I tried to wrote some methods but it didn't work.....I am still a beginner in C#.
SOOOOOOOOO please help me.
with my best regards.
Ahmed
with my best regards.
Ahmed
|
|
|
|
|
Have you tried session variables ?? ex: on the datagrid page ..... Session["myValue"] = CellValue;
and then on the main page ..... TextBox1.Text = Session["myValue"].ToString();
Hope this helps.
|
|
|
|
|
Hi,
I have a new requirement to create a service so that my service would query the table every 5 0r 10 minutes to fetch the data from database and i have to pass the value to a particular port.
Can someone suggest me the methodology.Can i go for windows service or webservice?
Thanks,
|
|
|
|