Answer Questions
Amar13 PROBLEM: Microsoft.ApplicationBlocks.Data
I'm having a big problem with the DAL that comes with TaskVision and I'm hoping I'm just doing something silly and someone can tell me what I'm doing wrong. I changed TaskVision so I could use SQL Authentication (just changed the dbConn.ConnectionString& ...Show All
CAnil I need help about drawing rectangle on htmldocument
hey All, I want to draw a rectangle on Html document using mouse event(mouse move,mouse down,mouse up). Infect i am developing a form which contains Webbrowser Control , when this control shows some web site in it , means after documentComplete event. i need to draw a region on this document just like drawing region for capturing some part of screen in many softwares. help me ASAP. Thank you in advance. Actually i am devel ...Show All
Vasil Trifonov Determine who is calling the object (Remoting)
Hello everyone, Is there any way the server can know the client's IP address that calling it's object. The client server architecture is implemented using .NET remoting.... string MyIPAddy = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"].ToString() ...Show All
Apoorv Bhargava Making child controls of UserControl editable
I have a UserControl subclass, CompanyInfo, with various controls (Labels and Textboxes) on it. When I'm designing this class, I can edit the controls, move them around etc., which is fine. However, when I build CompanyInfo into a DLL, then add it to the Toolbox and drop it onto a form in the Designer, I can no longer edit and move the various controls that CompanyInfo encapsulates. I have tried setting these controls to public access, but that ...Show All
BizWorld InvalidOperationException: Cannot call Invoke or InvokeAsync
I have a tabcontrol that has several tab pages most tab pages contain a seperate datagrid. The datagrids datasources are not set until runtime. When closing the application and switching between tabs and moving between forms I recieve the followin ...Show All
TheSoddy Textbox bound to a decimal type will hang the form if non-numeric data is entered
Here is a simple problem: Drag a decimal or numeric field from your data source onto your form (creating a bound textbox). Enter any non-numeric or invalid data into the textbox and the form will seem to "hang". That is, no other controls (even the form close) will operate. You can't navigate out of the textbox until you enter valid numeric data. Has anyone found an solution to this problem You ...Show All
CoDavid NativeWindow & clipping region...
Hello, I am using the NativeWindow class to create a popup window which I paint using the UpdateLayeredWindow. Everything works ok, but I do have one problem: my popup window always overlaps everything instead of staying together with the parent form. For example, imagine this: Form1 is a parent MDI container, and Form2 is a MDIChild. On Form2 if I have a combobox and I drop it the combo box drop down window doesn't overlap over the Form1's bord ...Show All
Cahyo Sasongko Input Validation on Windows Forms
I am still having trouble getting this straight. I wonder if anyone can help. I have a straightforward Windows Forms application, displaying data in separate controls (not a Datagridview (yet)) bound to a database via a Dataset and BindingSource, all set up automatically in VS. I want to validate my user's input, so: 1. I want to do the validation as soon as the user enters data, while his attention is still on that field, AND I want to wr ...Show All
El Cangry how to resize tabpage title?
Is there a way to resize the tabpage title I couldn't find this option in the IDE. Thank you, At least on my end, when I set the DrawMode to Fixed and set the ItemSize property to something bigger than what is needed I have the tab text drawn in the middle... if you are not having the same results, what are you seeing thank you! those options are not so evident. I also want to center my tabpage titles. ...Show All
Adam Smith Cannot Update Multiple Tables(Set of useful functions)
Hi ! I am trying to make some functions that will allow me to create ,update , add and delete the dataset easily But i cannot not close the dataset and use it to fill again . it gives me error Missing the DataColumn 'Username'  ...Show All
stige Single Instance app, Activate
Using this in Main to enforce a single instance of the app: Dim firstInstance As Boolean Dim safeName As String = Application.UserAppDataPath.Replace("\", "_") Dim mtx As Mutex = New Mutex(True, safeName, firstInstance) If Not firstInstance Then Return End If Application.Run(New Form1) ... But instead of just returning if its not the first instance, I would like to Activate the existing instance's window. I guess the question is how can I get ...Show All
joffa Moving controls doesn't work after migrating to VS2005
Hello, I am experiencing strange problem with move controls in VS 2005 Designer. I have a 2003 project which uses .NET 1.1 designer functionality: DocumentDesigner derived form designer, ControlDesigner derived control designers and custom implemented services. The solution worked perfectly when compiled in VS 2003. As I converted it to VS 2005 I had no problems compiling, and dialog editor works in most parts (including some ...Show All
TylerPenniman enabling and disabling toolstrip buttons, based on the "current" object
hiya, I am using a single 2.0 winform for my app. <layout> forrm -->toolStrip -->tabControl -->tabPageOne -->tabPageTwo <\layout> The entity on tabPageONE is a simple entity, therefore I can edit it entrely in a RAD datagridView.As a result, I want to DISABLE all the "edit", "save" toolstripButtons on the toolStrip. The entity on tabPageTWO is a comp ...Show All
Mukeshb1 Standard to Professional upgrade
I have VB.Net standard I have recently discovered that in order to do what I need to I need Professional. Does anyone know if it is possible to upgrade just to VB.NET Pro or if I must get Visual Studio If so how and can an ...Show All
polejnik Scope of Events
I've been playing around with some of the OO features of C# and decided to design my app using business objects rather than DataSets to represent the data in the application. I have a form which contains a DataGrid control. Rather than go down& ...Show All
