|
Hello
I want to make a wizard like the once in Access where we can find the path and select a database then the table and then the fields we want to work with..Is it possible?
Like is there any kinda ActiveX controll or some software I really would like to know..So if you know please tell me..
Thank you very much..
Have a nice day!
|
|
|
|
|
I could be wrong, but I believe the Genghis Project for .NET includes a wizard control that eases the creation of wizards.
Any remotely useful information on my blog will be removed immediately.
Judah Himango
|
|
|
|
|
There are several articles here on CP that cover wizards in C#.
- Nick Parker My Blog | My Articles
|
|
|
|
|
I've got a MyButton : Button class, and I would like to handle the events (like MouseMove, MouseUp, MouseDown) not in the form class but in the MyButton class. In the class where and how can I do it, because adding handler in MyButton constructor occurs error:
Form1 form;
this.MouseDown+=new System.Windows.Forms.MouseEventHandler(form.Mouse_Down);
|
|
|
|
|
override the OnMouse** methods of you base class (within your MyButton class)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemWindowsFormsDataGridClassOnMouseDownTopic.asp
Gary
While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'
- Dilbert
|
|
|
|
|
..embedded control on each row??
I know a column can be created that will show a combobox, then all rows of that datagrid will have a combobox in that column.
BUT...
Is it possible to have a column that will allow you to show different controls on different rows?
E.g. visualise the following 2 column table, which has 3 rows:
Col1 Col2
Row1 Combo
Row2 Checkbox
Row3 Textbox
How can this be done? Would greatly appreciate the assistance of the .NET/c# experts out there...!
|
|
|
|
|
I don't think this is possible. The only thing that comes to mind would be if you set the column to type System.Windows.Forms.Control then did some hack to get each row to display the type of control you want, but I'm thinking this isn't possible. Maybe someone with more experience in this area can give you a more solid answer.
Any remotely useful information on my blog will be removed immediately.
Judah Himango
|
|
|
|
|
Hello,
I developed a Smart Device Application but some textBoxes are hidden when the SIP is activated so I want to reach the following situation (for now it works that the Input Panel is raised when the user clicks on a text Box):
whenever the user clicks on a text box and the Input panel is raised, the
code determines if the textbox is hidden by the raised input panel.
-if yes, the form is scrolled upwards till the focussed text box is above
the height of the input panel. this way the user can see what he is typing
in the textbox.
-when the input panel is disabled, the form contents are scrolled back to
the position they were before the panel was raised.
Can anybody help me with that problem?
thx
mat
|
|
|
|
|
does anybody have any information on transferring of files (e.g. .ppt slides, .pdf files, etc.) using sockets via the internet? also, are there any commands to check whether the system has been idle for a specified amount of time?
my group is developing a chat application and we very much appreciate any help you can give us. thank you.
vicky
|
|
|
|
|
sir
plz help me i have a lot of problem because i take the project of
VIDEO BASED SECURITY OVER IP it is the client server application means that we detect video frame from client site and then send to server in server we comparison and calculate the oldframe(calculated frames in client side) with the new frames and on the basis of this we generate the alarm plz help me in C#
Struggle calls a life ,but the rest calls a death.
|
|
|
|
|
Hi gurus,
How can I get the list of installed network adapters (hardware & virtuals) and get their informations? (IP address)
Can any one show me a sample code to do so?
Thanks.
Best regards.
There is no spoon.
|
|
|
|
|
Add a reference to the System.Management dll, which gives you access to WMI (Windows Management Instrumentation). WMI can give you the list of network adapters and IP addresses; MSDN has several good examples, I suggest you search there.
Any remotely useful information on my blog will be removed immediately.
Judah Himango
|
|
|
|
|
Hi~
A C# program calling a C++ dll to create a window using P/Invoke.
After the C# program was KILLED (not terminate the program normally), the window created by C++ dll still exist. I would like to ask how to clean up the C++ dll (process? or thread?) after the C# program is KILLED.
THanks~
|
|
|
|
|
Hello,
I am currently working on a Smart Device Application with a TabControl and four TabPages. I want to add a vertical Scrollbar in one TabPage. Does anybody know how I can realize that??
Best Regards
mathon
|
|
|
|
|
I tried it in that way: with the following lines in the constructor:
this.vScrollBar1.Maximum = tabPage1.Height + this.ClientSize.Height;
this.tabPage1.Controls.Add(this.vScrollBar1);
and the following EventHandler
private void vScrollBar1_ValueChanged(object sender, System.EventArgs e)
{
this.tabPage1.Top = -this.vScrollBar1.Value;
}
Unfortunately this does not work. Nobody an idea how it works to scroll within a tabpage of a Smart Device Application
regards
|
|
|
|
|
Can anybody tell me how to play a wav
theough a modem
Thanx
|
|
|
|
|
What kind of modem? Is it Telephony capable?
Are you talking a about so a person can hear it on the other end of the line or a computer?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Ever resolve this? I'm in the midst of applying working proofed wav functions but lacking a good choice for a good modem.
|
|
|
|
|
Hi ,
My project needs to create a folder broswer to allow user to choose folder path. however, I can find any build in control to do this.
I have found from MSDN, it has one called FolderNameEditor.FolderBrowser, inside System.Windows.Forms.Design namspace, but I still can't use it. My computer is using dotnet 1.0 verison. is it impossible to use this control ?
Does it only support for dotnet 1.1 or above??
One more, I would like to load current user desktop path, and MyDocument etc. to a tree, but how I can get these type of paths?
Thank you.
|
|
|
|
|
If you're not bound to the 1.0 Framework use the FolderBrowserDialog class which is supported in Version 1.1 of the Framework.
www.troschuetz.de
|
|
|
|
|
That's a UITypeEditor and is meant only for use at design-time.
As Stefan mentioned, if you can upgrade to the .NET 1.1 Framework (and remember they install side-by-side) you can use the FolderBrowserDialog . If you must support .NET 1.0 you'll need to P/Invoke SHBrowseForFolder or interop with the shell32.dll COM server. For both methods, there are articles here on CodeProject. I recommend searching for "SHBrowseForFolder" since P/Invoking that shell method would give you the most control with the smaller dependency.
This posting is provided "AS IS" with no warranties, and confers no rights.
Software Design Engineer
Developer Division Sustained Engineering
Microsoft
[My Articles] [My Blog]
|
|
|
|
|
Just for documentation sake (we should add this to the article):
[StructLayout(LayoutKind.Sequential)]
public struct BrowseInfo
{
public IntPtr hwndOwner;
public IntPtr pidlRoot;
[Out] public StringBuilder displayname;
public string title;
public int flags;
public BrowseCallBackProc callback;
public IntPtr lparam;
public int iImage;
}
[DllImport("shell32.dll", CharSet=CharSet.Auto)]
static extern IntPtr SHBrowseForFolder(ref BROWSEINFO lpbi);
- Nick Parker My Blog | My Articles
|
|
|
|
|
Thanks for the suggestions, Heath.
I still have one question, how I can get the user Desktop folder, MyDocument Folder etc. ?
I was tried to use Environment.GetFolderPath(); function, but the specialFolder Emun is not in namespace, is it also not supported in dotnet 1.0 version ?
I'm going to make my folder tree, but seems has no method to get the special folder. Do you have any suggestions? Thanks
|
|
|
|
|
Here is the situation, I have a windows form and I want to pass some info from the form to another one, so I thought about puting it in a global variable like in a session based application, how do I do so, and is this the best way to aproach the problem??? If not what should I do then, and how???
Thanks
Oakcool
|
|
|
|
|
Hmmm... I can smell spaghetti... can you?!
|
|
|
|