473,544 Members | 1,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Basic .NET Forum

1
1,393
thread by: cmdolcet69 | last post Oct 17 '08 by: James Hahn
How can i get (gage) to represent gages 3 and 4 in my array list..... I have a total of 6 points. 4 points are on COM1 and 2 points are on COM2 Points 3 and 4 (which are on COM2) should populate selectDualDSICOM2.Add(gage), however the array is populated with points 1 and point 2. Can anyone help?
1
2,539
thread by: Nathan Sokalski | last post Oct 17 '08 by: PJ on Development
I am creating a control in which I inherit from the DropDownList. The only method that I override is RenderContents. Here is my basic code: Public Class StatesDropDownList : Inherits DropDownList Protected Overrides Sub RenderContents(ByVal writer As System.Web.UI.HtmlTextWriter) 'I add several items to the Items property here using...
1
885
thread by: Alcibiade | last post Oct 20 '08 by: rowe_newsgroups
Hi to all, I've installed microsoft expression blend2 and SP to develop silverlight2 aplications. When i click on : create a new silverlight2 application I obtain messagebox "Creating <nameproject> failed, not able to find a part of path....Can someone help me? Thanks
1
6,486
thread by: =?Utf-8?B?dmJTdHVkZW50?= | last post Oct 20 '08 by: kimiraikkonen
Dear All, I have textbox in my form .. I enter the student name in the text e.x (vbstudent) I want to sign textbox data to array, each letter in one index. ex array(0)=v array(1)=b
1
1,739
thread by: =?Utf-8?B?a2FyaW0=?= | last post Oct 20 '08 by: =?UTF-8?B?R8O2cmFuIEFuZGVyc3Nvbg==?=
Hello All, my question is how to get a text box or a label to display decimal #, like 0.9 or 1.4. what i'm trying to do is to convert from, for example, steps to miles. if 1 mile = 2000 steps, then if i put anything less than 2000 it show as a zero (0). so how do i get it to be .#(point something)? Thanks for all your help.
1
1,220
DLL
thread by: Tomas Andersson | last post Oct 20 '08 by: Scott M.
Hi I need to create a DLL in VB9 Is this possible and how do i do Say I want to make a realy simple on that has one function visible from the outside and som internal subs The function needs two variablöes from the outside to work designation as string and amount as integer
1
1,743
thread by: =?Utf-8?B?anVzdGFnZWV6ZXI=?= | last post Oct 20 '08 by: =?Utf-8?B?anVzdGFnZWV6ZXI=?=
I feel I'm maybe barking up the wrong tree here, but can I write a collection class (inheriting from collections.generic.list or similar) that can capture events thrown by the list items? E.g: Class Foo Public Event MyEvent(sender as object, e as eventargs) End Class Class FooList Inherits List(Of Foo)
1
1,271
thread by: esource | last post Oct 20 '08 by: Ken Halter
does anyone know of a tool that measures performance of dll's, exe's etc in a VB application? I'm assessing a large vb6 application with 120+ dlls (15 - 20 are loaded in MTS). I'm trying to determine which ones are utilized the most. make the most calls, take the longest processing time, etc. Is there something that can run in the background...
1
1,109
thread by: sven2000 | last post Oct 21 '08 by: sven2000
Is there a way to either - know when the user has scrolled - turn of 'smooth' scrolling (so a scoll is line by line) What I want to do is to insert the cursor at a specific row and colum after the user has scrolled the text. What happens is that the text jumps a few pixels.
1
2,612
thread by: Derek Hart | last post Oct 22 '08 by: =?Utf-8?B?dXJrZWM=?=
I am using an MSScriptControl in vb.net to do an evaluation of a text string: tempAnswer = MyScriptControl.Eval(MyScriptString) But how can I use this to get a return value from a vbscript function: Function Foo() As Integer If MyValue = 1 Then Foo=1 Else
1
7,117
thread by: John | last post Oct 22 '08 by: Patrice
I want to make a VB.NET DLL that can be called from Microsoft Access 2003, i.e. VBA. I have created the class library in VB 2005 and created a public function Test1. In the VBA code I added the code header to access the DLL function, shown below. Private Declare Function Test1 Lib "Test1.dll" _ (ByVal ToAdr As String, ByVal FromAdr As...
1
4,217
thread by: =?Utf-8?B?U3VydHVyWg==?= | last post Oct 23 '08 by: rowe_newsgroups
The following code used to work. It starts up notepad and types a few lines. What am I doing wrong? I'm using VB.NET 2005 under Vista. It starts notepad okay, but it can't 'type' into it. 'demonstrate "typing" into notepad Dim psiProcessStartInfo As New ProcessStartInfo With psiProcessStartInfo .Arguments = "" 'command line arguments...
1
1,762
thread by: ilario santamaria | last post Oct 24 '08 by: kimiraikkonen
hello loading a page in webbroser, try a link and click, you open the pagita everything ok Private Sub caricapagina(ByVal nomesito As String) Try WebBrowser1.Navigate(New Uri(nomesito))
1
1,839
thread by: Bully | last post Oct 24 '08 by: Tom Shelton
I want to wrap a .Net command button using COM Interop, and then use this usercontrol in VB6. Is this possible and has anybody tried it? Bully
1
1,582
thread by: cmdolcet69 | last post Oct 27 '08 by: Michel Posseth [MCP]
Whenever I start my program up from vb 2005 i get the following error : 80040154 with the error code {09DAFAE2-8EB0-11D2-8E5D-00A02415E90F} it has to do with a DYMO printer i n just added code to for my project.
1
4,349
thread by: BrenB | last post Oct 27 '08 by: Harry
I'm trying to trap for an event in my user control so that I can manage the state of the user interface. The control is used to enter data into a database. The control contains a tab control with one tab containing a grid listing records, the other tabs are display/entry fields. The problem is how I handle adding a new record. If the...
1
2,274
thread by: Jeff Johnson | last post Oct 27 '08 by: Nathan Sokalski
"Nathan Sokalski" <njsokalski@hotmail.comwrote in message news:er%23hyAFOJHA.1896@TK2MSFTNGP02.phx.gbl... Since this is derived from a Web class, I can't really help much, being a desktop guy, but I have to wonder: why WriteOnly?
1
970
thread by: Herfried K. Wagner [MVP] | last post Oct 31 '08 by: existential.philosophy
<existential.philosophy@gmail.comschrieb: No need to repost -- the same question posted by you yesterday got two replies in the meantime. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
1
1,023
thread by: Nathan Sokalski | last post Oct 28 '08 by: =?Utf-8?B?TW9ydGVuIFdlbm5ldmlrIFtDIyBNVlBd?=
I have a Graphics object that I have drawn several things on using transform methods (such as RotateTransform and TranslateTransform) and drawing methods (such as FillRectangle and DrawString) of the Graphics object. It now looks exactly how I want, except for one thing. I want to rotate the entire thing by 180 degrees. How can I do this? I...
1
1,691
thread by: Simon Woods | last post Oct 30 '08 by: Simon Woods
Hi I have 2 classes which are both instantiated by shared factory methods and both implement a common interface. Public Class Factory Public Shared Function CreateMyClass1() As MyClass1 Return New MyClass1 End Function
1
4,930
thread by: Mark B | last post Nov 2 '08 by: John Saunders
This code is returning a HTPP Internal Server Error. How do I amend it to: a) Create an XML file on the server b) Return a XML stream to the person who called the webservice? <System.Web.Services.WebMethod()_ Public Function WsTableValuesGet( _
1
2,096
thread by: Brad Pears | last post Oct 31 '08 by: sloan
I have a vb.net 2005 project and have a Crystal report I have designed (using the built-in Crystal reports that came with .net 2005). The fields in my report are based on a stored procedure. I have now added a field to the database and have modifed the stored procedure to include this new field. However, when I go to my report and attempt to...
1
8,719
thread by: =?Utf-8?B?T21lZ2FTcXVhcmVk?= | last post Nov 3 '08 by: =?Utf-8?B?T21lZ2FTcXVhcmVk?=
have customized PageSetup and Print dialogs that emulate the standard dialogs. I would like to be able to open the "Printer Preferences" dialog by clicking a button (just like can be done on the standard dialogs). (On some Print dialogs (such as in Word and Excel) this button is labelled "Properties". And just to avoid being too...
1
1,061
thread by: 493245744 | last post Nov 3 '08 by: Lord Fauntleroy
#include<stdio.h> main() { long num1,num2; int mynum1,mynum2; int i,j,z,h; int array1,array2,array3; scanf("%d%d",&num1,&num2);
1
1,595
thread by: Mike Williams | last post Nov 1 '08 by: PvdG42
Hi I'm using VB6 and I would like to print the contents of a RichTextBox over a number of A4 pages in landscape so that there are two columns per page with an all round 0.7 inch margin and a 1.4 inch central column gap. Does anyone know how to do that? Mike

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.