Answer Questions
Sam Wane Printing :-(
Can anyone point me to a simple tutorial on how to print formatted text e.g. the contents of a rich text box including bold and different font sizes etc. TIA Julian Thanks spotty, that gives me a good starting point. http://www.developerfusion.co.uk/show/244/ http://www.dotnet4all.com/Dot-Net-Books/2004/08/how-to-print-from-rich-text-box.html ...Show All
JSensei synchronous vs asynchronous
I am a newbie and can anyone explain to me the difference between synchronous vs asynchronous programming Does .NET framework (VB 2005) is synchronous by default Ken, I am still little confused with foreground and background. Say for e.g. I have two procedures foo1 and foo2 and I do extensive calculationis and looping inside foo1(). VB compiler does not start executing foo2() before foo1() finishes. T ...Show All
msdn13 Scrolling Text
Hi There, Unfortunately another vb beginner for you guys here. I am building a windows application and I was wondering if it it possible to display text in a scrolling fashion i.e. with a label scrolling text through it. Like in some news websites where the main headlines would be scrolling along Hope this isn't a silly question Thanks very much Colin Hi Christian Thanks very much for the reply...ony ...Show All
Erch InvalidOperationException
Hi , I know I am missing the obvious , but why am I getting an InvalidOperationException ,when I try and run this code (vs 2005) , further comment to exception " Collection was modified; enumeration operation might not execute." Any Solution with examples will be greatly appreciated ! Dim row As HidWkFlwDataSet.tblPodRow For Each row In Me .HidWkFlwDataSet.tblPod.Rows If row.Verified = False Then ...Show All
coderkidd Upgrade visuals from 2003 to 2005?
Hi all, I recently converted a 2003 project to 2005 which was easy enough but now when I compile the project in 2005 it still displays the 2003 style form objects. In the design screen however my old forms contain the new-style form objects they just dont display when I run the program. Is there anyway to fix this without redesigning my forms Mak. Go to the Main method of your project and add the followi ...Show All
Swaff EventID ?? is now InstanceID
Guys, On VB 2005 microsoft had the wonderfull idea of change the Eventid for InstanceID. I'm trying of retrieve the eventid in my application but it come with a very long number in some cases. How can I retrieve the EventID that you can see in the Event Viewer instead of the InstanceID Is there a way I can convert the InstanceID to EventID Ejemple: Private Sub btnSee_Click( ByVal sender As System.Object, ByVal ...Show All
Devendra Desaine Checkbox in Datagrid
Hey all, I got a Windows application connected to an Access DB. In the DB I have a field of type Yes/No. When I populate my datagrid, the column that represents this field is shown with a checkbox in the datagrid...... this is ok for me...... but it's using ThreeState, how can I remove this so that the checkbox can be checked or unchecked only. Thanks PS.... using VS.NET 2003 anyone ...Show All
Nisheeth Tak Turning Off Quick Console in VB.NET 2005 Express
Hello: Would like to inquire the floor how to turn the "Quick Console" off so that all my input and output would be done through a external-window console. Many thanks in advance. Tortoise Idiot Number Four Okay the options page must be not included with the Express versions. You can set it using the registry: Set the following value to 0: HKCU\Software\Microsoft\VisualStudio\8.0\Debugger\UseConsoleWindow ...Show All
Nitin Chintamani Code Analysis / nested classes / what to do
I discovered by accident that if I took the stuff I'd normally put in a module and nested it in a class (usually as shared) I really uncluttered the autocompletion lists. (I'm a great one for always typing system.windows.forms.... So seeing less and typing more is in for me!) OTH Code Analysis complains loudly about nested public classes, presumably for a good reason. My question is simple - is there a way of correctly using modules so that a mo ...Show All
TGF Retrieving data
Hi, i'm trying to read data from a dataset. I created a dataset with one table. Now I want to store the data off the first field in the first record to a variabel off integer type. Can anywhone help me.Thanks http://msdn.microsoft.com/msdnmag/issues/02/07/AdvancedBasics/ This article shows you how you can refer to items in a dataset. which software vb6.0 or dot net ...Show All
Hydra20010 Coding Datasource for Pivot Table
Hi, I'm on the process of linking my AS2005 cube to VB 2005 using ms pivot table 11.0. However, instead of doing an early binding, I want to code my datasource connection. Do you have any sample on how to do this Thank you chemps usually, to define the connection of the pivot table is by right-clicking on the axpivottable object and configure the connection there. However, i want to do that in ...Show All
miltoncwb Syntax error: Missing operand after 'Name' operator.
Any help would be great. I'm trying to setup a filter for my address book program that uses an Access database. I have it working for a different form and I did it the same way as far as I know. For some reason though on this form I get the error "Syntax error: Missing operand after 'Name' operator." Here is the line of code that gives me the error: Me.PhoneBindingSource.Filter = _ String.Format("{0} like '%{1}%'", _ ...Show All
Muthu Annamalai Number Only Input
First of all, Sorry of this is a really simple question. I'm a bit of a noob. Is there anyway to make an input box that will only allow the input of numeric characters Thanks in advance. EDIT: The following code was taken straight out of help and was used to allow only numbers to be entered into a textbox. ' Boolean flag used to determine when a character other than a number is entered. Private ...Show All
Putta Help needed for beginner
I am writing a program, of which part is to copy all files, folders and subfolders from a provided source location to destination. When I run the code as shown below, if there are more than 2 subfolders in depth, or the source is on a CD then I recieve the following error: "An unhandled exception of type 'System.UnauthorizedAccessException' occurred in mscorlib.dll." "Additional information: Access to the path 'C:\New Folder\Autorun.inf ...Show All
Kalisurfer sql database
I am trying to work on an inventory program for my model railroads using SQL. i got the form down pat, but when I test it out and put data in, close it, then restart the build, nothing. What am I doing wrong DUHHHHH . I accidentally stumbled upon the way to get it going after I posted this. Now, as long as I execute it from the release directory of vb, it will work. Sometimes I ha ...Show All
