JCL's Q&A profile
Smart Device Development Displaying the form on the whole screen
Hi ppl, I want to display the form on the whole screen of the PDA. I mean i want the form to use the space on the top where the clock is and where the Start button is. I don't want the clock and the start button. Is it possbile Awaiting Nabeel Sure. Daniel Moth, one of our MVPs, described what you can do in item #11 here: http://www.danielmoth.com/Blog/2005/03/please-read-before-posting-to-ng.html ...Show All
Windows Forms missed controls/properties?
My project is an user interface for an access 2003 file. I need these things: ComboBox that check the item The user may click the arrow and select the item using the dropdown list and he can also enter the text. The ComboBox must show a messagebox telling the value is wrong. (Ive another unresolved thread for this http://forums.microsoft.com/msdn/ShowPost.aspx PostID=13251 ) TextBox for Dates TextBox for Double TextBox for Integer T ...Show All
Visual Basic ToolStripStatusLabels
How do you make a ToolStripStatusLabel have a ' CAPS ' feature (like, say, if CAPS LOCK is on, it'll say CAPS in black, but if it's off, it'll say CAPS in gray ) I can only partially answer your question. My.Computer.KeyBoard.CapsLock is a boolean type property. It will tell you the status of the Caps Lock Key. But I can't tell you how you would constantly monitor for any changes made to it. As a newbie, first instincts would tell me to ...Show All
Visual Basic Variable Declare Error issue VB 2005
I am having what I think might be a common problem. When upgrading my applications to VB 2005 from VB 2003, I have received a number of warnings regarding my declarations of local Strings without a default value assigned initially. Example of My earlier code: Dim tmpDriveType as Strin Warning treated as error : Variable 'tmpDriveType' is used before it has been assigned a value. A null reference exception could result at runtime. ...Show All
Visual C# Inserting ComboBoxes in a DataGrid with specific items in each row
Hi, I need to know How can I fill a DataGrid , that contains controls like ComboBox , row by row instead of using : tableStyle.GridColumnStyles.Add(...); Since I need to fill the comboBox control of each row with different items. I have wrote the follwing code but the result is empty cells in the column that expected to be ComboBoxes !!. //*************************** DataSet myDataSet = new DataSet (); //Tags T ...Show All
Windows Forms Looking for a LOGIN form example
In my project I want to add a LOGIN FORM to authenticate users of my application. I am in the search of a model of Login Form and his management. Thank you for your reponses. thanks Mustapa for you response. That resolv ...Show All
Visual Studio Express Editions How to get caption of active window?
How do I get the text of the currently active window Mathy... I think this is one for SJWhiteley. ...Show All
Visual Basic How can i use lpParameters in Shellexecute()?
Hello guys i am trying to write a program that executes a shell program like oracle Export, as you know for that kind of programs parameters is important, for example i have to do it with userid and Password also i want to change a password for example when a user typed my programs name in cmd and add userid and password and db_name, i want to change that password and send it to oracle i tried with shellexecute() but i couldnt use lpPa ...Show All
.NET Development How to get the application main form
Hi All, I am developing a Windows application using C# - VS2005. Is there a way to get a reference to the main application form ( the one that was started by the application.run()) from any user controls, any objects within the Windows application Thanks in advance The Application class has an OpenForms property that should give you a list of the currently open forms. You should then be able to iterate that and look ...Show All
SQL Server Run a SSIS Package including Windows Tasks Scheduler?
Hello As a beginner I have created some Packages to import Data to SQL Server. The Packages are running well. I have created a Task to run the Package on a SQL SERVER 2005 Express. The Task starts. Then a Execute Package Wizard Picture appears on the Screen. I have mannually to select the Connection Manager and the Connection String. After the selection the Task runs without any Problem. Now I like to get the Task to run ...Show All
Windows Forms UserControls disappear from VS2005 Toolbox
I created several UserControls within my solution. They showed up in the Toolbox for a while. Then they all disappeared even though they compile just fine. What happened and how can I get my user controls back Sorry about the triple post everybody. Whenever I tried to post, it said an error had occurred, so I tried again. ...Show All
.NET Development why does this crash it's too small to crash? :)
CultureInfo * ci = new CultureInfo(S"en-US", false ); NumberFormatInfo* nfi = ci->NumberFormat; double __gc * m1; if (Double::TryParse(Form1::m1->Text, NumberStyles::Any, nfi, m1)) {g->DrawLine(penblack, 100, 0, 0, 100);} Heeeeeeeeelp pleeeeeeeeease, does it have to be this hard to convert a string into a real Hello! I am afraid so. but you may try to use the System::Convert::ToDouble(str ...Show All
Windows Forms populate combobox
hi, I would like to populate a comboBox with three text values and assign an ID to each one so that when one of them is selected, then an ID for that text value is used later on ie. combobox1.items.add("value1") combobox1.items.add("value2") combobox1.items.add("value3") tried accountTypeComboBox.Items.Add (new ListItem("Item 1", "0")) accountTypeComboBox.Items.Add (new ListItem("Item 2", "1")) but gives an error on ListItem Thanks ...Show All
SQL Server sql statement from webform with dynamic join, how?
In my application the user can enter form textfields and check checkboxes to dynamically generate the SQL SELECT. Most searched values com from one table but some come from other tables with a 1:n relation. So, if needed INNER JOIN them by writing the FROM statement in a variable, that I use in the query. Like this: " INNER JOIN tCmsElementCustomProdspecArtikelZusatzStoff ON tCmsElementCustomProdspecArtikel.artikel_ID = tCmsElementCustomProdspec ...Show All
Smart Device Development Opening a device with "POS for .NET"
Hi. I have a question about using "Microsoft POS for .NET". If this is not the right place, I apologize. I have a line display that had been working fine. I then added more devices, using a usb hub and a serial-to-usb hub, which I had problems with, but finally I got the printer to work. Meanwhile the line display no longer works. I even unplugged all the other devices and just plugged in the display as the lone device in ...Show All
