Darwin Wright's Q&A profile
Windows Forms update db from textbox
I have a textbox connected to a dataset and appropriate oleDBDataAdapter and oleDBConnection in C#. The textbox (databindings) text is connected to the dataset. The textbox gets filled with the data correctly. But when I want to save doing Update nothing get& ...Show All
.NET Development "Stream was not readable" error
Hi, the following simplified code sample sends a post request and attempts to read the response body stream. I'm posting to the vs2005 web dev server. If i try to run this code more than once between dev server reboots i get a "Stream was not readable" error. This only happens when i attempt to post, get's work fine. the response body is exactly the same in both cases. The dev site code is implemented as an http handler. could t ...Show All
Visual Basic How To Run A Program From CD
I would like to ship my finished program on CD... but I do NOT want it to install to the hard drive. Instead, I want it to start running as soon as the disc is inserted in the PC - the same as if you double click the icon on the desktop. Therefore, I need to bypass the setup program and let the program run instantly. The only install that would be necessary would be .Net - if not previously installed. Thanks. ...Show All
Visual Studio How to get full path from relative path
I am relatively new to MSBuild, specifically Team Build and I am trying to Exec an application located in the $(SolutionRoot) tree. The problem I am having is that the $(SolutionRoot) has a \.. at the end of it so my Command is something like c:\test\..\app\app.exe, which is unable to find the exe. Is there any way to strip off the \.. from the $(SolutionRoot) Thanks. Thanks for the response. I investigated ...Show All
Visual Studio Input arguments for wizards
Is there a way to retreive input arguments from within a wizard Possibly through a reference to a configuration service or something like that Basically, I just want a reference to the current project from within my wizard (using a custom wizard page). I have a recipe argument with this value, but how do I access that from within the wizard Thanks! Arguments are readily available to wizards. What are y ...Show All
Visual C# "PInvokeStackImbalance was detected" error when opening Crystal Report Viewer
Hi, I am trying to load a crystal report using c#. My form has the CrystalReportViewer control on it. When the form is loaded, i get the following error: PInvokeStackImbalance was detected Message: A call to PInvoke function 'CrystalDecisions.Windows.Forms!CrystalDecisions.Windows.Forms. :: b' has unbalanced the stack. This is likely because the managed PInvoke signature does not match the unmanaged target signature. Check that ...Show All
Visual Studio Express Editions visual basic templates
Hi all could someone please help me with this error " Installation stoped because the directory for the project type does not exist.Project type invalild for your version of visual studio" do I need to download something PLease send help!!! Thank you for your reply.However,I fixed the problem myself.It turns out I just had to reinstall my copy of Visual Basic Express and then everything worked fine,but ...Show All
.NET Development .Net 2.0 send email with multiple “To” recipients
Hi, I know how to send emails in .Net 2.0, but I can not send one with multiple email recipients in the “to” field. If possible I would like to specify display names for all recipients in the “to” field but this is not required. Why can't you send to multiple TOs What is the problem you are having We definitely support this feature. Use code something like MailMessage msg = new MailMessage(); msg ...Show All
Windows Forms Repopulate Combobox from second form
Hi, I've got 2 windows forms (vb.net). The 1st form contains a combobox which is populated by a tablecolumn from a SQL Server database. On a 2nd form I can add items to this particular table. The second form is opened from the first form. When data is saved on the 2nd form, I call a public sub on the 1st form to repopulate the combobox on the 1st form: 2nd form: Private Sub btn_save_Click( ByVal sender As System.Object, ByVal e ...Show All
Visual Studio Express Editions vb express ed?
I downloaded the beta ver and I guess it's free. Can I make apps and sell them with this ver or do I have to buy a the full ver. Also will my apps work in win95 Sorry if this is the wrong place but I couldn't find an area that matchd my question You can get a go live license for the beta products that will allow you to use the systems in production... But when you read the license the go live license for the b ...Show All
Visual C++ Need help with WndProc
I have a class Window with a function LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); The line wcex.lpfnWndProc = (WNDPROC)GlobWndProc; in the function ATOM Window::MyRegisterClass(HINSTANCE hInst) compiles because I have a function static LRESULT CALLBACK GlobWndProc(HWND hWnd, UINT msg, &nbs ...Show All
Windows Forms ListView in Windows sorting Column
Hi im trying to sort a Column in my windows form when the user click on the selected column but how do i make sort the data DESC and ASC i can do it in one direction but not the other too !! any ideas... suggestion.. thanx ...Show All
Visual Studio Tools for Office Office - Sharepoint Integration
Hello, I need the url of the sharepoint document library where a smart document is stored, to use the sharepoint web services within it. Okay, after the document is saved I can use the FullName property to get the url, but therefore I would need an after update event. The before update event isn't very helpful because I don't want to implement any custom save logic. Is there any chance to get the shareopoint url without to reopen the docum ...Show All
Windows Forms setting datagridview's editing icon and glyphs manually
Hi! I'm using the datagridview in one of my projects and I wonder how to set the editing icon and the glyphs manually. Which event(s) do set these Thanks for your help! \Helmut You cannot replace the editing icon and other glyphs, but you can keep them from drawing (see this link ). If you are drawing them yourself then use this link as a guideline: http://forums.microsoft.com/MSDN/ShowPost.aspx ...Show All
Software Development for Windows Vista SQLTrackingQuery from Workflow
Hi, can I call SQLTrackingQuery from workflow to get data about activities that are finished successfully I would like to put one code activity in the end of workflow, pick up all tracking information and send it out in some way, it is not important how. I don't want that procedure on host, I want to keep host as simple as possible, and do in workflows as much work as possible. Thanks, Igor Igor, ...Show All
