|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Visual Basic .NETmicrosoft.public.dotnet.languages.vb
Robert Dufour -
10 Mar 2007 8:55 PM - 2 messages
I have a file c:\test.pdf that I simply need to send to the default printer from within my vb.net code I've been seeing samples that show how to print text to a printer and they handle page counting etc. ...
Alessio -
10 Mar 2007 10:07 AM - 3 messages
I need to make a system call from an Excel macro to execute something in DOS. I there a command like system("command") in Visual Basic? Thanks a lot ...
Martin H. -
10 Mar 2007 8:10 AM - 5 messages
Hi, I'm working on a DLL which I want to make available for download (when it's ready). However, since I want to make a few $$, I want that the About dialog of the DLL is shown each time the program (which references the DLL) is ...
Spam Catcher -
10 Mar 2007 6:06 AM - 3 messages
Hi all, Has anyone here done any SIP development in .NET? Can someone recommend what is the best SIP stack to use? I'm thinking of using Microsoft's Real-Time Client ... but it hasn't been updated since 2004. Is there a better stack to use? ...
ljlevend2 -
10 Mar 2007 3:50 AM - 2 messages
I've noticed that if you click on a Windows.Forms.ToolStripButton then a MouseLeave event will not occur until the button is released. ToolStripMenuItems on the other hand will raise a MouseLeave event as soon as the mouse moves outside of the item, even if the mouse button is held down. ...
Sid Price -
10 Mar 2007 1:45 AM - 4 messages
Is there a .NET (2003) class available somewhere that might provide a comprehensive task scheduler with a better granularity than the one minute of the built-in scheduler on XP? Even down to 15 seconds would be better than one minute. ...
Rick -
9 Mar 2007 11:51 PM - 2 messages
VS.net 2005 I'm using a bindinglist(of T) to bind to various controls on a WinForm. I use the name/value pairs in the "type" for the displayMember and ValueMember of say a ComboBox control. For example I might load the TermsNumber and TermsDescription from a ...
Flomo Togba Kwele -
9 Mar 2007 10:24 PM - 3 messages
I wrote the following class: Public Class CassPrintComparer2 Implements IComparer(Of ICASSPrint) Private _sortDescending As Boolean = False 'pass true to the constructor to sort descending Public Sub New(ByVal descending As Boolean) ...
dave m -
9 Mar 2007 10:09 PM - 5 messages
I'm creating a class library (dll) and am confused as how to pass any information, should any exceptions occur, back to the calling application. Such as: Try x = 3 / 0 ' divide by 0 error Catch ex as Exception ...
Michael M. -
9 Mar 2007 9:15 PM - 6 messages
I have the following code (listed at bottom of post) that pings a small range of IP address to see which ones are alive. To speed things up a little I am trying to use more than one thread, problem ...
Brad Pears -
9 Mar 2007 8:34 PM - 6 messages
I have the following code which I was using to print .pdf's. It worked fine and actually printed the pdf file. Now I want to use the same code to print a .jpg file. When I run the code, ...
ags5406 -
9 Mar 2007 7:59 PM - 2 messages
Novice to Visual Studio 2005 - in the past have used VB6, Excel VBA, Access VBA. I want to download a set of data daily from a website which I then put into a text array. This part I've done and it works well. ...
Brad Pears -
9 Mar 2007 7:56 PM - 3 messages
I have a bytearray variable and want to create a temporary file on my hard disk from this bytearray so I can print this data. How do I do this?? Thanks, Brad ...
Playa -
9 Mar 2007 5:31 PM - 3 messages
When I display my print preview dialog all text and data displays as expected but when I print it some of the text isn't printing. I can't figure out why it displays fine in teh print preview but some text wont print. Can anyone ...
Ben -
9 Mar 2007 5:23 PM - 5 messages
Hi, i have some problem to access from code-behind a label nested into a CreateWizard control. I use a html-table for align purpose only. I try to change the text property of the label with ID="UserNameLabel". <asp:CreateUserWizard ID="CreateUserWizard1" runat="server"> ...
done1105 -
9 Mar 2007 4:55 PM - 2 messages
Using VB.net, i want to dynamically create a workbook and add a command botton to one of the sheets. how would i do this? I see examples using VBA but i am not able to translate them to Vb.net. ...
Manekurt -
9 Mar 2007 4:41 PM - 4 messages
Hello, does anyone knows how to know the size in Kb of data stored ina a dataset? Thanks ...
Computer geek -
9 Mar 2007 4:12 PM - 17 messages
Hello, I am new to VB.NET and programming in general. I have taught myself a lot of the basics with vb.net but am still quite the novice. I am working on a little application now and I need some help with one ...
Andrew -
9 Mar 2007 4:04 PM - 2 messages
Where can I get the Microsfot.Office.Interop Dll's for work and excel? ...
Playa -
9 Mar 2007 3:45 PM - 43 messages
I have an if statement that isn't working correctly and I was wondering how I check for a blank string. My Code Example if me.fieldname(arrayIndex) = "" then ----- end if When I do this and there is no characters in the variable it does not enter ...
fasttrack -
9 Mar 2007 3:27 PM - 3 messages
Hello, I have a problem, I have built a vb.net application and deployed. Everything is OK and functioning. But I need a thing: I have to run a vb.net file .exe at the end of setup and show the icon ...
John -
9 Mar 2007 3:13 PM - 5 messages
I want to dynamically get the control from the event being executed at a particular time. For example, lets say I have the following event. combobox1_SelectedIndexChanged((ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles combobox1.SelectedIndexChanged ...
ukgrl_yr79 -
9 Mar 2007 3:00 PM - 2 messages
hi fairly new to vb.net . I have created a filesystem where a manager and co workers hve limted access. the manager can read members files. i have used streamreader to get the details from a text file on my c drive into relevent text boxes eg ...
Smokey Grindel -
9 Mar 2007 1:35 PM - 4 messages
What is the best way to do this? I want to have a child form in an MDI window that can only ever have one instance of open... if one is already opened I want to use that form and not make another... any suggestions? I ...
HONOREDANCESTOR -
9 Mar 2007 12:44 PM - 3 messages
I have a buffer that needs to be locked sometimes, because 2 processes update it. So I made the buffer into a class and whenever there is code that affects it, I sandwich the code between Synclock MyBufferClass ........... End Synclock ...
teejayem -
9 Mar 2007 9:21 AM - 23 messages
Hi, I am new to programming with databases and was wanting some help. Is there any way to password protect an access database and access sent sql commands to it via vb.net code? Any help would be much appreciated. ...
ray -
9 Mar 2007 8:39 AM - 4 messages
Hi, I would like to ask how to plot graph in vb.net on the interface? Is it possible? Thanks a lot, Ray ...
Terry Olsen -
9 Mar 2007 4:26 AM - 5 messages
Here's another odd request. I want to embed the winamp window in my app. I have a panel that I want Winamp to be locked to. Using a couple of API calls, I can set the panel as the parent of the main Winamp window like so: ...
Vanessa -
9 Mar 2007 3:14 AM - 12 messages
I have a class library developed in VB.NET. Inside there is a form with a button1. I add this class library to a VB6 Project. I do a Dim a as new classlibrary.form1 SetParent a.GetHwnd, Me.hWnd ...
Ron -
9 Mar 2007 2:19 AM - 10 messages
How would I go about finding the even characters in a string? for example: string = I have so it would return even characters of ae thanks ...
active -
9 Mar 2007 2:10 AM - 4 messages
I have a mainmenu menuitem that contains a Recently Used Files menuitem If at design time I include a menuitem in the Recently Used Files menuitem collection it will display OK If I programmatically add more menuitems to the Recently Used Files menuitem ...
Ron -
9 Mar 2007 1:38 AM - 3 messages
I would like to make this code into a class: Private Sub btnAllCap_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAllCap.Click txtOutput.Text = txtInput.Text.ToUpper ...
George Shubin -
9 Mar 2007 12:47 AM - 4 messages
A routine I have that grabs all file names (fully qualified) from a directory tree is getting the above error. The error message says: "The path is too long after being fully qualified. Make sure path is less than ...
guy -
9 Mar 2007 12:33 AM - 6 messages
I am able to use the Server Explorer to create a dataset containing tables in my database. I am able to bind a table to my combobox and set a filter by including a where clause. But I am unable to ...
grzegorz.gazda -
8 Mar 2007 11:10 PM - 4 messages
Hi all Is there any limit of images which can be added to a image list. I have a problem with this control. I added an image list in design mode and I am adding images using code. Then I want to use images in a ...
Rich -
8 Mar 2007 10:37 PM - 5 messages
Is it possible to use a wildcard like feature with Dataview.Find? Actually, I tried that but did not get any rows. Is there some wildcard like feature of the dataview or some other object that I could search/find rows in an ...
Phil -
8 Mar 2007 10:31 PM - 5 messages
Hi, How to add programmatically a label into a content page? I tried this but doesn't work: Thanks Phil content page: ------------ <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> </asp:Content> code-behind: ----------- dim lb as label ...
Galen Somerville -
8 Mar 2007 10:18 PM - 8 messages
I have been converting a VB6 project to VB2005 for lo these many months. Most of my problems have been solved thanks to people like WanYuan Wang and Mattias Sjogren. But now the Graphics aspect is the problem. This program gets Heart sounds and ECG trace data from a USB device via an ...
backwards15 -
8 Mar 2007 9:28 PM - 3 messages
Having a bit of trouble with rounding and math.sqrt. I have below a small function that generates a 4 diget code from the square root of the date. Public Function Generate() As String Dim n As Integer ...
ngr -
8 Mar 2007 8:53 PM - 3 messages
I have come across a problem because I have too many controls on a form. It says that it cannot create a handle. Now I know that there is a limit of how many windows handles which can be used in any one process, but would like to know in VB.NET 2005 how I can ...
bob95226 -
8 Mar 2007 8:24 PM - 2 messages
Hi All, I create a .net compact framework Window CE class library with a few events using .net 2003, the application bundled with this library doesn't work on .net 2005 platform (it works well for .net 2003), after debugging, it turns out RaiseEvent MyEventName in that class ...
fniles -
8 Mar 2007 7:44 PM - 3 messages
I am using .Net 2003 and querying a SQL Server 2000 database. I read the database in a loop, but on every iteration I set the SQLCommand to new, set it, execute it, dispose and set it to nothing. Is there any way so that I do not have to do that ? In VB6, I can set a ...
camainc -
8 Mar 2007 7:36 PM - 3 messages
I'm just now migrating to the 2.0 framework, and in working with the System.Xml namespace, it seems like almost every method or object either takes a URI or a stream or some other object that only takes a ...
Darhl Thomason -
8 Mar 2007 6:46 PM - 5 messages
I'm developing an app for a Smartphone and want to add a text box that only accepts numbers (much like in the contacts, the phone # fields only accept numbers). Thanks! Darhl ...
Lloyd Sheen -
8 Mar 2007 6:21 PM - 2 messages
I am looking at tutorials for ASP.NET and VB. The page is [link] When I see it with IE7 and Vista I see the footer info at approx half way ...
Nate -
8 Mar 2007 5:13 PM - 4 messages
This has probably already been addressed (but I can't find a reference to it in the groups). Tracking down a bug, I found that the OpenMode Enumeration in both the local and on-line MSDN is incorrect. It's a ...
martin1 -
8 Mar 2007 3:08 PM - 4 messages
Hi, All, I use vb 2005 to create window app, and try to disable close button/item on the top right coner of window, can anyone can help this out? Thanks for yuor time, Martin ...
jayeldee -
8 Mar 2007 3:06 PM - 2 messages
I'm using a 3rd party COM DLL that contains a Logon method to which I give a user name and server. Any invalid user name values or server values cause a dialog box to pop up and prompt for valid input. ...
DorkyGrin -
8 Mar 2007 2:55 PM - 3 messages
Can DirectoryWatcher watch subdirectories, copy files that appear, change the name of the files, and send those files to another specified directory? I'm doing this now with a VBS script and using Windows scheduler to kick off the process. Seems like DirectoryWatcher ...
Bassam -
8 Mar 2007 2:29 PM - 2 messages
Hello , I'm using VS.NET 2005 and VB.NET I made a DLL file having compiled classes and successfully added a reference to it in the main application , is there a way i can debug the DLL from the ...
Vikter -
8 Mar 2007 1:43 PM - 3 messages
Hey, I've done some vb 6.0 and atleast can make a project executable. However i cant do it in vb.net. How does one create a project executable in Vb.net. From [link] ...
Osvaldo Rosario -
8 Mar 2007 12:27 PM - 6 messages
I'm using SMTP for email in a VB2005 application. The problem is that the email is sent when I exit the application, not at the moment that the client.Send command is generated. There's a setting to done to allow the email to be sent at real time? ...
gadya -
8 Mar 2007 11:06 AM - 3 messages
I use one of 2 arrays dependent on the country. Rather than say: if exchangeID = 1 then dim myPlaceBets() as As UK.exchange.PlaceBets many statements myPlaceBetsReq.bets = myPlaceBets else dim myPlaceBets() As AU.exchange.PlaceBets many statements myPlaceBetsReq.bets = myPlaceBets ...
WorldIsEnding -
8 Mar 2007 10:34 AM - 8 messages
Hey, Im having trouble with converting a Numeric value (such as a single digit number like 1 or 5) into a time format. I need to convert a number entered into a variable into Hours on the first form, then from Hours into Seconds when a second form is loaded. ...
sani -
8 Mar 2007 8:54 AM - 2 messages
How to upgrade Objptr function from VB6 to VS.net 2003 From [link] Posted via DevelopmentNow.com Groups [link] ...
Tark Siala -
8 Mar 2007 7:30 AM - 8 messages
when i working on VB6 with ComboBox i use ItemData to save Id Number with Visible Name, and use it to get Data from Database. but now i working in VB.NET and se ComboBox, i can Fill Visible Name by ...
Nick Chan -
8 Mar 2007 6:19 AM - 2 messages
can u stop it? visual basic studio express IDE is so good and free ...
Spam Catcher -
8 Mar 2007 5:04 AM - 3 messages
Hi all, Does .NET 2.0's SQLBulkCopy class work with SQL Server 2000? Thanks! ...
James -
8 Mar 2007 2:14 AM - 4 messages
Is there a way to put a watermark in a text box? I have sen it on web sites but i would like to create a persistant translucent one in the background ...
Matt F -
8 Mar 2007 1:22 AM - 12 messages
I'm trying to do something that seems like it should be pretty simple, but haven't found a solution. I am trying to add a datacolumn to a datatable that adds or subtracts a number of days based on another datetime column in ...
John Devlon -
8 Mar 2007 12:35 AM - 3 messages
Hi, I've created my own class containing a few properties like name, zip-code and savings. At some point i'm storing several objects in an array. Does anyone know how to sort the array using the zip-code, again using the ...
Brad Isaacs -
7 Mar 2007 10:40 PM - 5 messages
Using ASP.NET 2.0 , code behind with VB.NET and an SQL Server 2000 database Inside my dropdown list box I am using an SQL DataSource to select the following data SELECT RTRIM(c.Name_First) + ' ' + RTRIM(c.Name_Last) AS Contact, ...
Lloyd Sheen -
7 Mar 2007 9:44 PM - 4 messages
Is there an example of VB code which will take a datasource and extract from that the needed info (columns etc.) to create the columns and then bind the data? This seems so much more difficult to do an ad-hoc query. ...
Jan -
7 Mar 2007 8:36 PM - 11 messages
Hi, I defined a function like this: Public Function myfunction(ByVal myvar As Object) As String ... Return xyz End Function in aspx file, i use it like this: ...
Gaby Sandoval -
7 Mar 2007 8:34 PM - 3 messages
I have this code. The user can read teh record from the text file just fine. They can click the NEXT button and it reads the next record (which is just the next line from the text file). ...
pete_tomson -
7 Mar 2007 8:01 PM - 2 messages
Hi - I'm trying to read data from my parallel port. Does anyone know how I can write a program in vb6 to read pin 6 of my parallel port. All I need to know is whether there is an incoming signal - input ...
martin1 -
7 Mar 2007 7:56 PM - 5 messages
Hi, All, I try to ping another PC using ping in vb 2005, can anyone provide a snippet of code? Thanks in advance, Martin ...
Miro -
7 Mar 2007 6:23 PM - 5 messages
I was searching on Microsoft's site and found this link: [link] It stumpped me on something. ( im new to visual studio / vb.express ) but.... I was under the impression from the posts on this newsgroup that Vista does ...
Ronald S. Cook -
7 Mar 2007 4:56 PM - 12 messages
We have graphics/web designers at our firm and then programmers. We're trying to work together without stepping on each other's toes. So far, we've all been using Visual Studio. But, is there something great about Microsoft Expression that the graphics ...
yhlove -
7 Mar 2007 4:02 PM - 5 messages
Hi as much as I know from univsersity compilers dowsn't check another statements after they find a TRUE statement. example: a=1 b=2 if a=1 or b=3 then ..... end if Because a=1 statement is TRUE, the compiler shouldn't check the ...
Mark Brown -
7 Mar 2007 3:36 PM - 2 messages
Is there any way to load a text box (or label) with text and then have the text continuously roll in a loop from top to bottom (or actually bottom to top) and control the speed? Thanks, Mark ...
Samuel -
7 Mar 2007 3:30 PM - 2 messages
I simply want to read a file located somewhere in the internet from VB code Can anyone send sample code? Thank you, Samuel ...
David -
7 Mar 2007 3:23 PM - 3 messages
Using the calendar control, how do I set my calendar to start at 2005 instead of 2007 at runtime? ...
Bassam -
7 Mar 2007 3:09 PM - 2 messages
Hello, I'm using VS.NET 2005 and VB.NET , i have a large project , the IDE keeps giving me errors regarding the vb compiler all the time , i thought to split a big part of the project into separte DLL file ...
jlab13 -
7 Mar 2007 1:39 PM - 5 messages
i was sure that in vb6 the syntax to open a form via a button was "form.show". I'm doing that in Vis Studio 2005 and it doesn't seem to do anything. Any suggestions? Thanks!!! ...
René Jensen -
7 Mar 2007 1:06 PM - 5 messages
Hello I got a problem with a class i'm trying to create. the problem is that i would like to use the dot when i access some parametes in the class like. Connect() measure.current(10) trigger() disconnect() the class access some hardware ...
Karl Rhodes -
7 Mar 2007 11:35 AM - 3 messages
I have an application which uses mutliple forms for different tasks, all of which are mdi child forms to the applications MDI Parent form. One of these child forms (form1) will be used to select a record from somewhere within a hierarchy (using a treeview and listbox to narrow ...
ruca -
7 Mar 2007 11:24 AM - 2 messages
Hi, I have a button that when clicked must print the current page after doing something in a certain function. For that I have this code: ------------------------------------------------------------------------------------------------ Private Sub ibtnPrint_Click(ByVal sender As System.Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ibtnPrint.Click ...
Luk -
7 Mar 2007 10:19 AM - 2 messages
Hello, i need to get a string / some strings from a html source code (external) url: [link] there are under "Scherbenwelt" these strings: Ehrenfeste Wohlwollend 6107 / 12000 how i can get them through a vb.net application? ...
Peter -
7 Mar 2007 6:33 AM - 5 messages
Hi all, I am searching through directories trying to find the prefix to a number of files. Unfortunately the files don't have a standard naming convention yet. So some of them appear as: THH307A.Monitoring Public Health Issues.doc ' A single period ...
Jim -
7 Mar 2007 6:18 AM - 2 messages
I am a newbie I am making a control and wasnt to RaiseEvent txtChange(txtCodeBox) . this trigger only works once. After I change the frst lettter it stops. How come ...
Tony K -
7 Mar 2007 4:40 AM - 2 messages
I want to perform a specific action but do not know when... I have a DataGridView with 4 columns. When the second column ( row.Cells(1) ) is edited and then loses it's focus, I want to set up a query to fill in the ...
active -
7 Mar 2007 2:58 AM - 19 messages
Console.WriteLine(String.Equals(s, s.Clone.ToString)) s is type string. This returns True. If Clone really made a new copy I'd expect False. Wouldn't you? ...
yoinks -
6 Mar 2007 9:55 PM - 3 messages
Is there a way to vaildate a textbox on a tab and display a message to either leave existing tab of go to the new one. I kind of have this working with the indexchanged event but it is still buggy. ...
bucrepus -
6 Mar 2007 9:07 PM - 4 messages
I am trying to create a 'queue', or something like it. I am storing 1 to 6 integers in a list and need to move backwards and forwards in the list (like the back and forward arrows do in internet explorer, except these are ...
HONOREDANCESTOR -
6 Mar 2007 8:47 PM - 4 messages
I am modifying some code that uses 'events' to add to a buffer. Suppose I want to write a routine that will read from the buffer at timed intervals. Is there a danger that when I read from the buffer, ...
Paul -
6 Mar 2007 8:05 PM - 8 messages
I have a VB.NET 2005 program that I am running. It is transactional in nature and most of the steps are running a query against SQL Server tables. I have one executable that displays one form. The form ...
jlab13 -
6 Mar 2007 7:03 PM - 4 messages
how do you get an integer answer to be returned rounded? i.e. 9.10 instead of 9.98888, etc. Thanks for any help!! ...
ksg -
6 Mar 2007 6:30 PM - 3 messages
I am writing an application and I want to be able to setup an array when the form loads with some data I will use throughout the program. Public Shared ptrArray() As String Public Sub Initilize_Variables() 'Load Default Directory Information ...
Charlie Brown -
6 Mar 2007 6:25 PM - 4 messages
What is the advantage of declaring events in #2 over #1. Which one should be used? #1 Public Event MyEvent(sender as object, e as eventargs) Private Sub DoSomething() RaiseEvent MyEvent(nothing, nothing) End Sub ...
Lou -
6 Mar 2007 5:51 PM - 14 messages
What's the .NET equivalent Dim strTmp as string If strTmp=vbNullString Posted this earlier in the wrong Newsgroup. ...
Mike -
6 Mar 2007 4:52 PM - 2 messages
I am trying to chavge permission on the specific drive and force enheritance so only the user, system, and Administrators have full control. I can do this using the following, but xcacl needs to be in the system32 folder. Is ...
Rich -
6 Mar 2007 4:09 PM - 3 messages
Hello, I need to determine if a VB2005 app is running, but I need to determine this from another VB2005 app. Back in the com days there were various API's to do this apiGetClassName apiGetWindow apiGetWindowLong How to do this from VB2005? ...
Gus Chuch -
6 Mar 2007 4:06 PM - 5 messages
I got a simple line of code that paints on a panel. I would like to add a clear button to clear the panel but I’m not to sure how. Panel.MouseMove Dim g As Graphics = Me.Panel1.CreateGraphics() ...
Joh -
6 Mar 2007 3:53 PM - 5 messages
I've developed an application that is launched at system startup. Is there a way to detect when an application is started by autostart and when its launched by a user? ...
BillE -
6 Mar 2007 3:50 PM - 2 messages
I'm using vs2005 vb.net. I'm creating a table dynamically which contains about 40 controls. The code executes very quickly, but after the code is completed it takes about 30 seconds for the page to be displayed. During this time it flickers ...
Jon -
6 Mar 2007 2:17 PM - 2 messages
I have a service written in VB.Net 2. This service runs every 30 seconds and connects to an external web service to get some data, then parses and saves that data to our database. For some reason, after a while the machine it's running on begins to crawl. ...
Eric -
6 Mar 2007 12:54 PM - 2 messages
I want to call a method on the MDI parent from the child. Basically the method will set some text (message) on a status strip and show the appropriate icon (for the type of message). I'd also like to put a progress bar on the MDI parent and ...
Karl Rhodes -
6 Mar 2007 12:34 PM - 5 messages
Hi all... Perhaps I'm not going about this the right way, but I wondered if anyone can help? I have a treeview which populates from a datatable using a parent/ child relationship. It stores a company/branch hierarchical structure ...
Niels Wiederanders -
6 Mar 2007 11:42 AM - 2 messages
Hello NG, Im Trying to save some App Data by De-/ Serializing an Object: Public Function DeSerializeFromByte(ByVal Bytes As Byte()) as SerializableClass Dim myObject As SerializableClass Dim mySerializer As System.Runtime.Serialization.Formatters.Binary.BinaryFormatter = New System.Runtime.Serialization.Formatters.Binary.BinaryFormatter() ...
|
|||||||||||||||||||||||