WinFormsUser's Q&A profile
Visual Studio Express Editions reconstructing variables into memeory
Greetings, I finally have figured out how to send 8 bit chars over my serial port. Thanks to all who helped. Next battle: I am communicating with an 8bit microcontroller. My compiler for the microcontroller allows me to generate integers larger than 8 bits. ie 16, 32, float ect. Lets say I have a 16bit variable in the microcontroller. It resides in two adjacent 8bit memory locations. I can send this variable out of the microcontroller over the com port one byte at a time from its memory location. ie send the lower byte, then send the upper byte. I can easily receive these two bytes into and array in VC++. My question is this: How do ...Show All
SQL Server Subfolders
I know you can create sub folders in report manager, and then move reports into them. Is this a good idea since report designer cannot deploy to sub folders, and then you are left with deleting and moving, which throws off your subscriptions. Am I missing something Thanks! You have several options: - report designer supports deployment in a specific folder - you can move reports around (not delete/recreate) which keeps subscriptions, etc.. - you can automate deployment scripts using the SRS script host - rs.exe, look for more details in MSDN or Books online Hope that helps Tudor Trufinescu ...Show All
Visual C# C# / SQL Error Message
When I add a SQL database in C# and try to add a table, I get an error message that states "The parameter is incorrect" Does anyone know how to fix this Thank you What is your connection settings on Visual Studio Write step by step what are you doing and what is your SQL Server version Express or Enterprise ...Show All
.NET Development Fix: Confirmed "BUG" in VS2005 - Microsoft Access, SourceSafe (Operation must use an updateable query.)
Hi ! Just wanted to let you all know about a problem I strugled with for some time before I found the solution. To recreate the problem do this: 1) Create a windows form project that uses a access database as its data storage. 2) Add the project to the sourcesafe (note that the database will be added aswell) 3) Now try run the project in debug mode and you will receive the error when you try to update/add any data to the database "Operation must use an updateable query". The problem here is that since the database is added to sourcesafe, its been set to "Read Only". The "Read Only" flag does not change when the files are copied to the bin/De ...Show All
.NET Development How to read usb port ?
hi all, Any one tell me that how to read the usb port pls.... ...Show All
SQL Server Where have the samples gone?
Hello, I've just installed the samples from the June CTP and found that the CreatePackageCS and CreatePackageVB solutions that show you how to create a package programatically in .Net have disappeared. Where are they Are they going to come back I quite liked that sample stuff! -Jamie Jamie, This sample, and possibly another one or two, were temporarily removed from CTP 15 due to insufficient resources for thorough re-testing. They are back since then and you will see them in the next CTP and at RTM. -Doug ...Show All
SQL Server Could not start DTS services in SQL SERVER 2005 developper edition
Hello, I tried to use the SQL SERVER DTS on SQL SERVER 2005, but when I wan't to start the service i have the next error : The SQL Network Interface library was unable to register SPN. Error: 0x54b. Coul you help me please. Thanks Dragan Please check the following post for the answer: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=76142 ...Show All
Windows Forms Can't Resize Columns in DataGridView
Is it by 'design' that when the AutoSizeColumnMode for the grid is set to 'AllCells', users can resize the columns According to MSDN2 documentation( http://msdn2.microsoft.com/en-us/system.windows.forms.datagridviewautosizecolumnmode(VS.80).aspx ), "Content-based automatic resizing prevents users from adjusting column widths with the mouse. User resizing is enabled in fill mode, however" And for "AllCells" mode, "The column width adjusts to fit the contents of all cells in the column, including the header cell" Meaning, AllCells mode fits into the description of &qu ...Show All
Windows Forms Docking and ClientRectangle in custom control
I've created a custom control (derived from Control) to be used for image rendering. I'd like this control to be dockable. Whenever I Dock my custom control as Fill on a test form along with another control that is docked Bottom (for example), theClientRectangle for my custom control represents then entire client area of the Form. The net resul ...Show All
Visual C# ShockwaveFlashObject
Hi. I have used "AxInterop.ShockwaveFlashObjects.dll" in my project. How can I handle write click on it There is't any mouse event for it. ...Show All
Visual Studio 2008 (Pre-release) Changing the cursor programmatically
Hello, can anyone tell me how I can set my cursor in the code with a relative path to my .cur tnx in advance, kimme button.Cursor = new Cursor("foo.cur"); Note that we only support cursor files on the file system, not pack: or http:. ...Show All
Windows Forms PropertyGrid
In the standard propertygrid control, i need to add property pages. E.g.: the standard VS IDE property sheet has an 'Events' page which is not on the provided propertygrid control while developing Windows Based Applications. How is this done With reflection you can get the event of an specific type: Type type = myObject.GetType(); BindingFlags flags = BindingFlags.Instance | BindingFlags.Public | BindingFlags.FlattenHierarchy; EventInfo[] events = type.GetEvents( flags ); foreach ( EventInfo eventInfo in events ) { // TODO: Add to property page. Console.WriteLine( "Event found " + eventIn ...Show All
Windows Forms TreeView icon Image Quality
I'm using the treeview control to display some heirarchical data and it seems to working fine, but the icon image quality is horrible. I'm using icons that come with VS2005 (Image Library) and they look great when browsing the icons in Windows Explorer, but look terrible when bound to a treeview node. Anyone seen this behavior before Hey Max...thanks for posting Yeah...I've set the imagelist colorDepth property to 32bit to no avail. ...Show All
Visual Basic roll over text
hey i was wondering if it was possible to make it so when you roll over a button(in a VB.NETapp) and it displayssome text, like how to use that button thanks Hi, I have to agree, you might be talking about a tooltip. In the designer window of your project add a tooltip from the common controls in your toolbox, click on any control (like your button) you want the text to appear for, and from the properties panel, select "tooltip on tooltip1" and write the text you want diplayed. Or as MS says: To set a ToolTip programmatically Add the control that will display the ToolTip. Use the SetToolTip met ...Show All
Visual Studio Ready to Launch SQL2005/vs2005 media package wont install VS2005
I received the Ready to Launch package for SQLServer 2005 and VS 2005. The Box says that VS2005, SQLServer 2005, and BisTalk Server 2006 are featured. I also received the ADVPACK.dll error, but only when I tried to run the CD 2 \wcu\SDK\x64\setup.msi. It says it is trying to install Microsoft .Net Framework 2.0 SDK. Then it errors out with “ Error Creating process <C:\DOCUME~1\USER\LOCALS~1\Temp\IXP001.TMP\install.exe>, Reason: C:\WINDOWS\system32\advpack.dll. CD 1 is not labeled as such but has the SQL Server 2005 label on it. CD2 is labeled as such and has VS 2005 on the label. CD3 is labeled as MSDN Library. Whe ...Show All
