tbednarick's Q&A profile
.NET Development XHTML Validation Fails due to <asp:ImageButton> renders a BORDER="0" output
Steps to Reproduce: <%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head id="Head1" runat="server"> <title>Untitled Page</title> </head> <body> <form id="form1" ...Show All
Visual Basic what about "can't change combobox height vb.net 2005'
In vb.net 2003 it was possible change the height of controls like textbox (with multline set to false) and combobox, now in vb.net 2005 I can't. there is a way to change that Dustin_H wrote: Combo boxes height can't be changed unfortunately :( Atleast, i've never found a way. Why they change things like that Now I have to reorder my hole application ...Show All
Windows Forms Autoscroll
When I use AutoScroll, scrollbars never show up if the controls are outside of the container to the left or top of it, only to the right or bottom. How do I fix this Yes you can access autoscrollbars by using p/invokes to the Windows Shell functions. Check this link: http://msdn.microsoft.com/library/default.asp url=/library/en-us/shellcc/platform/commctls/scrollbars/scrollbarreference/scrollbarfuncti ...Show All
Visual Studio Express Editions New to Visual Basic Express - Viewing and Printing Data
I am new to Visual Basic Express;I last programmed in Quick Basic (DOS). Through various books I have been able to construct a Form to input data such as, for example, speed and time (I am keeping this simple;the actual situation is more complicated). Using this data I perform calculations which produce results which I store in variables d, s, and t. I simply want to produce a new form in order to view the results in the following way: ...Show All
.NET Development Dataset Events
In Delphi, there is a component known as the TQuery. This component represents a set of data returned by a select statement. In design time, there are 20+ Events that a developer can place code into. For example: BeforePost, AfterInsert, BeforeDelete, OnPostError, etc. What does this compare to in VS 2005 I do not need any detail, please just point me in the right direction. Charles In .NET it is the ...Show All
Visual Studio Express Editions saving user settings
hi i need a simple-to-understand tutorial on how to save user settings. I would like to have a textbox on my form that the user types something in, and the text is saved so it'll appear the next time my application is started. thank you There is a good one in your HELP file Choose Index and enter Application Settings The Help file is your friend.... ...Show All
Visual C# Object reference not set to an instance of an object. - pulling my hair out, please help.
Hi everyone, I'm doing some work with structures, the following is an extract: public struct sectionScore { public int sToScore; public ArrayList qInSection; } public struct questionScore { public int qToScore; public int qScore; } as you can see, quite simple. The question to score struct stores a couple of ints, the values from these int's ...Show All
.NET Development Write.XML from a DataSet
Hello XML Gurus, I have what I hope is a relatively simple question; but since it's my first time with it, I'm hoping for a little guidance. I have a DataSet (DataSet1) and I want to write one its tables ("Users") to an XML file (Users.xml). I think I understand how to write the whole dataset (and schema) to the xml file, but how do you do one table Also, when you call write.xml(filename), does it automatically overwrite the co ...Show All
Windows Forms How to find search within RichTextBox to get string from cursor position?
In a richtextbox, my cursor is in the middle(any place) I wanted to find out the position of cursor. From there, I wanted to find a particular word or string or char (any line above the cursor) on left of cursor and make it a start point Similarly, i wanted to find out particular word or string or char on right of the cursor and make it as end point. Then, i wanted to cut the string between start and end point. Is it possible If so, H ...Show All
SQL Server Raising errors in Validate() method
Hi, I am building a custom component. In the Validate() method I am checking for various things. Here's a section of my code: if (ComponentMetaData.InputCollection[0].InputColumnCollection.Count != 1) { return DTSValidationStatus .VS_ISBROKEN; throw new Exception ( "You need to select one and only one column" ); } The problem I'm finding is that my Exception never gets thrown so I never see the e ...Show All
.NET Development Ref Cursors +ADO.net
I am using ref cursors and stored procedures in order to return a row of data from my oracle server Can somebody please let me know can i bind my stored procedure with the ref cursor type (because i need to pass the ref cursor type as an input parameter) in c#.net because OLEDB for oracle does not provide any inbuilt cursor or ref cursor type which can be passed as an input parameter type while creating a parameter in c# ...Show All
SQL Server accessing report server programmatically
Hi friends I have .net app ,where i display reports from my report server in a screen .,which works fine. I added a web reference to my report server ,to my solution to get it work. since i know my report server name on machine i added webreference to my project. but when i deploy at site ,as you can guess, the server name can be different. is it possible add web reference programmaically so that i dont need to hard code report server name a ...Show All
Visual Studio Tools for Office Changes to App.Config not propagating to runtime in Excel VSTO 2005
When I change a connection string in my App.Config for Excel VSTO 2005 the change is not being reflected at run time or in the debugger. Where is the runtime App.Config being kept It's not in the bin or obj\debug... My version also prompted me about updating the value in the .settings file and on the dialog it appears to have been changed but if you turn on show all files and check the actual method in .setting ...Show All
Windows Forms BackgroundWorker RunCompleted Not Thread Safe?
I created a StatusStrip using VS.NET 2005 Beta 2. A thread is started to grab data from a database. The StatusStripLabel is updated when a data row is changed/added. I put the codes that changes the StatusStripLabel inside a BackgroundWorker's RunCompleted event. Here's a sample of my codes: [ ... snip ...] private string _StatusMessage = ""; private void StatusChange ( string message ) { lock (_StatusMessage)   ...Show All
Software Development for Windows Vista Cannot install neither VC nor VB on vista?
I'm trying to install VB6 and VC6 on my computer and before the installation I get error saying "ODBC's sqlinstalldrivermanager failed" then, at the 'actual' installation, when installer tries to copy DBNMPNTW.dll file, it stops and say "VB(VC)6.0 professional setup was not completed sucessfully" I'v set the installer (ACMSETUP.exe)'s previlege level to administrator and it still gets that error. I'm using Windows ...Show All
