Gecko2648's Q&A profile
Visual Studio Express Editions Problem with docking
I used toolstrip to make a toolbar, and i am trying to create it along the same lines as the old MicroSoft Office Desktop Toolbar, but cannot find how to dock the toolbar to the side of the screen. Any Help please Jeremy Try using ToolStrip s = new ToolStrip (); s.Dock = DockStyle .Left; s.Dock = DockStyle.Right; ...Show All
Visual Basic Setup Project Upgrade instead of uninstall reinstall
Is there a way, when using a setup project as a deployment method, to have it check for previous versions then upgrade, instead of having to uninstall, then reinstall the application ...Show All
SQL Server Using connection manager connections inside a script component
Within a data flow I have a script component that I want to perform some data calls from. I want to execute SQL commands to connections already defined in the package's connection manager. Is there a way to set my script's connection variable to the connection manager connection Or, can I use the connection manager connections directly from within the script I figured out my problem. Duh, there's a t ...Show All
Visual Studio Express Editions why is vb.net printing so difficult?
Hi, I have loads of VB6 apps I am trying to migrate to VB.net and the biggest problem I have is that printer.print has no equivalent in vb.net Can anyone tell me a simple way to print in dot net Thanks Impossible is about right. I just can't see what to type to make something come out on paper, and I have written some neat VB stuff (IMHO) in th epast but this dot net thing has me stumped. Am I missi ...Show All
Smart Device Development How can i convert a string to URL-format? ("Hello+world%21")
Are there anything in the compact framework that does the same as the PHP function urlencode() Converting: "Hello world!" to "Hello+world%21" If you want to disregard RFC 2396 Uri.EscapeString() is based on, you should write your own escaping function. You could use Encoding.GetBytes() to convert string to array of bytes in the encoding you need and print them out in a hex form to do that. Or, get sources a ...Show All
Visual C# assign value to datetimepicker (windows form)?
i have a datetimepicker in a window form. how should the coding be if i read a date from the database and the datatimepicker will show the date that i get from database something like if i read a data from database and assign the data to the textbox, i would write SqlDataReader myReader; myReader = cmd3.ExecuteReader(); if (myReader.Read()) { txtunit.Text=myReader["P_UNITS"].ToString(); //textbox } wat is the codin ...Show All
Visual Studio Express Editions opening IE from link label
hi all as u wil tell from my i am very new to C# , i have been playing with a few small programs and need a quick bit of help i ha added a linklabel to my form and want it to open my internet explorer to the text in the link but for the life of me i can not work out how to do it. i belive the code should lok somthing like this private void linkLabel1_LinkClicked( object sender, LinkLabelLinkClickedEventArgs e) { ...Show All
Visual C# Expand or not expand - what a pain!
Hi, I have a configuartion question that I'm hoping someone will know the answer to. When I start VS (C#) I find all of my methods in the fully expanded state, this is a pain in the arse as my stuff is typically large (finance apps). Can anyone tell me how I can configure VS to not expand everything at startup/load time. thanks in advance, Ed. Not sure what havoc you mean. In case more than on person ...Show All
.NET Development Remove a table from xml file using C#
Hi, How can i remove a table from an xml file if the date is old using C# This is how the xml file looks like: <root> <table> <id> 0 </id> <date> 20060404 </date> </table> <table> <id> 1 </id> <date> 20060822 </date> </table> <table> <id> 2 </id> <date> 20060904 </date> </table> </root> What im trying ...Show All
Windows Forms resize a richtextbox
How do I resize a RichTextBox control to be as high as its content There appears to be no way to do this . I've seen several "solutions" which all basically revolve around this code: RichTextBox1.Height = RichTextBox1.Font.GetHeight * RichTextBox1.Lines.Length that is; count the number of lines and times it by the height of the font. Unfortunately, this counts the height of the first font on the rich text control that it enco ...Show All
SQL Server Also for Sql server 2000
i get this error when i wanna install sql server 2000 http://img287.imageshack.us/my.php image=error4pt.png kk thks... i cant afford to buy.. haha.. but its okie.. ill try install spl 2005 ...Show All
Visual Basic Where do I post vb6 questions?
I have compiled a activex dll that will bring up a form. This form has many controls on it one of them is a control that I created. I compiled an exe that will call the dll and bring up the form. which comes up fine and works. The caveat is if I call the executable and display the form and then call the executable again and display the form I get the following error: Run time error '372' failed to load control 'ctrlOrthoObjective' from ...Show All
Visual C# frequency spectrum analyzer
Hi, I want to sample an audio file and show it on a graph. so, I need to sample the frequencies between 20Hz and 15Khz. How do I do that with DirectX I just need to know how to sample a file, the methods/functions. (without hearing it,just open in on the memory and read it's content to chart like waveform) thx very much. Hi! What do you mean "sample a file" Read and display file on screen or interc ...Show All
SQL Server Unable to read local eventlog (the parameter is incorrect)
In trying to setup alerts and activating them, an error occurs in the sql agent log of Unable to read local eventlog (the parameter is incorrect) The full messages from the Windows NT Logs shows: Event Type: Error Event Source: SQLSERVERAGENT Event Category: Alert Engine Event ID: 318 Date: 03.11.2005 Time: 17:14:47 User: N/A Computer: RESYSHADOW Description: Unable to read local even ...Show All
Windows Forms hosting controls / forms across app domains (alternatives or thoughts)
I'm working on a designer type app where projects are created and visually edited. its an mdi type app where each "project" is loaded in its own app domain. each project is given a canvas and allows object to be dragged /dropped & configured on the canvas. right now I use a limited proxy to pass data values in and out of a property grid (the designed object sends a collection of properties & events to be designed, and tho ...Show All
