Answer Questions
Skitter Config file on Class Library ??
Got a solution with 3 projects, a Web Service, a WinForms (MyUI), and a Class Library (Foo). MyUI calls methods in the DLL that access the web service. The DLL has project config settings that store the URL of the web service. I compile the solution and it compiles all 3 projects. In the DLL's bin dir it puts the foo.dll and foo.dll.config files. However, in the WinForms bin dir it puts the MyUI.exe, MyUI.exe.config, and foo.dll; it doesn't i ...Show All
Sunil_pachunde Random Letter
How do I get a random letter, I think that I will have to produce a random number 1 - 26 then have the number equate to a letter, 1=A, 2=B etc. but how Try this: Randomize() Dim ascii As Integer = CInt (((90 - 65 + 1) * Rnd() + 65)) Dim letter As String = Chr(ascii) Hi Claes, Thanks for the reply, this has worked a treat, just one thing ...Show All
luisfslo Reading characters from a line
I was wondering (DESPERATELY) how to read only certain characters from a line of text and how to define where the code will start reading and how far into the line the code will read. and lastly - is it possible to store these specified characters in a variable I've been messing around with "Mid()" but its not doing exactly what I need it to. THANX Yup, I was just trying to make sure tha ...Show All
Alex Comanescu REGEX
Please help me find regular expression for wild character match. Say the regex should return true or false depending upon the validated expression. USA --> IsMatch("US*") should return true USA --> IsMatch("U*") should return true USA --> IsMatch("*A") should return true USA --> IsMatch("*SA") should return true USA --> IsMatch("*A*") should return true USA --> IsMatch(&q ...Show All
Brian123456 UltraNumericEditor - SpinWrap
Hey Guys, This relates to a 3rd party control which I am using, but wondered if anyone had had something similar regardless (Infragistics). Using an UltraNumerEditor control, when I use the spin buttons on the right to move the numeric value up or down (decimal) it will spin the #.00 portion of the value but not the 0.##. For example, selecting value down on 0.00 results in 0.99. Any ideas how I can get it to spin the first digit also ...Show All
doug finke Reference Paths in Visual Studios 2005
There seems to be something major about references that I'm not understanding. Any help or insight I can get into how Visual Studios 2005 handles project references would be very much appreciated. I have a solution with several references to other projects I have created. I have added these references to the solution and am referencing them from my main project as project references. I have the build output path of each of t ...Show All
pamt1984 VS 2005 and crystal reports
Hello, trying out CR for the first time and using VS 2005. I have made a basic report with no database information just my name the date and my address. It runs fine but when it opens I want it to default to PDF not to the webform that it does which then allows me to export to PDF, excel etc. This is my first time using CR so if anyone knows of a how to doc or if it is just one line of code I would appreciate the help. Thanks ...Show All
Peter Sarrett VB6 to VB2005 fails on preprocess
I have tried to upgrade several vb6 projects to vb2005 and every time it has failed. It gets as far preprocessing a module and just sits there taking up 100% processor and slowly goes up to 2.5GB of my 1GB memory. I have even tried a simple project with a module that contains a Sub routine that adds two numbers together and it fails. I have tried both VS2005 Team and VS2005 Professional and they both give the same result. I have tried r ...Show All
Geoffers How can I use EnumProcesses
Hi All, I am trying to use EnumProcesses as I want to count the no. of instant of any specific processe. so in form load i write: MsgBox GetProcesses ("explorer.exe") But its giving Nothing Please Help me out... Is this a VB6 or VB.NET question I am forced to ask as the sample code shown on that site for this sort of task is in VB6, not to mention the fact that EnumProcesses would require a P/Invoke ...Show All
pxgator Size limitations on an Image object?
I've written a Windows Service that uses a FileSystemWatcher component to watch a folder for new jpg files. When I put a new image file (jpeg) in the folder, the FileSystemWatcher raises the event, and I run the image file through a resizing routine, that seems to work fairly well. My problem comes in when I put an image in the folder that is over roughly 4.5 MB in size. I'm testing it using an image that's about 11 MB in size (3838 x 5681 p ...Show All
ASPman Passing data from form to form in the same project
Hello, My project have multiple forms. How can I get a text entry from one form and have it display on another Is it also possible to do with Radio Buttons Thank you. There is two ways to get data between forms. 1. Pass the data in from a parent to a child using properties exposed on the child form, or via a constructor argument. 2. Use delegates to send a message to the form in question when the data changes The common problem ...Show All
RickC2003 class containing another class
Hi, I'm new to OOP and am having problems creating a class that contains a collection of items from another class. ie I have a LabelTemplate class that represents a label to printed from a Thermal label printer. My LabelTemplate class has a set of properties like label size, labelName,barcode string etc.I also have a class, "PrintFields", that contains properties for a dynamic number of different items to be printed on the label. I want to ...Show All
Vladimir S. Passing data from form to form in the same project
Hello, My project have multiple forms. How can I get a text entry from one form and have it display on another Is it also possible to do with Radio Buttons Thank you. Very close. The problem is thet the text into form1.textbox1.text is not fixed. Text box 1 for example is waiting for some text to entered in run mode. YN. Sorry, but this solution is awful. Why 1. It means you need to expose the entire textbox as public.&n ...Show All
savoiu Changing text box labels on the fly and pausable For loops
I'm writing a program for class (so please don't help TOO much with the logic) but I'm not familiar with all I can do with VB yet. The program is a window with 10 virticle text boxes with corresponding labels. These represent the floors of an elevator. Each text box is prepopulated with a number representing people. The elevator needs to start at the first floor, go up, stop at each floor, fill to its capacity and go back down. It then ...Show All
Robert Jackson Creating Relations within a Dataset
im having a bit of trouble creating relations my dataset has 3 tables (client, episode, appointment) one client can have many episodes, and any 1 episode can have many appointments Client (0) INUMBER - primary key Episode (1) ENUMBER - primary key INUMBER - foreign key Appointment (2) ANUMBER - primary key ENUMBER - foreign key so i thought to set up my relations i would only have to do the following:- dsResults.Relations.Add( "Nod ...Show All
