-
- using the printdocument1 in vb.net
by nertron
- 2 Replies
- Last post
by nertron
- Hi
how do i use the printdocument1 in vb.net to dertemine how many pages to pirnt.
-
- cant get timer to restart
by monkiman
- 18 Replies
- Last post
by monkiman
- im making a program that will run through pictures that i made(sorta like a movie) the only thing is that my timer only ticks once and i dont kno how to make my timer restart here's the code im using:
Private Sub T1_Tick
If T1.Tag = 1 Then
PB1.Image = WindowsApplication1.My.Resources.Resources.The_Prophecy_part2
End If end sub im using the tag sorta as a variable so itll only
-
- Readonly property of a textbox in 2005
by BhargaviG
- 3 Replies
- Last post
by Spidermans_DarkSide - VSIP
- hi all
am new to vs2005 webapplications
how to use readonly property of a text box control
am using text box control where i have to use readonly property
if we place readonly property of text box to true, in code behind file am unable to access the value in text box.
can any one help how to use readonly property of textbox in vs2005
its urgent
-
- RollBack Transaction ...
by RPKJBP
- 2 Replies
- Last post
by Vineed
- I have a Sub Routine as below: Private Sub SaveRecord() Call InsertIntoTable1 Call InsertIntoTable2 Call InsertIntoTable3 Call InsertIntoTable4 End Sub I want to use the transaction object in such a way that it starts just before the first Insert Call and ends after the last Insert Call. The situation is that I have to save records in each table using different procedures. Presently, if su
-
- Progress Bar
by tssweb
- 6 Replies
- Last post
by RobBattaglia
- I am creating an application that will run a file transfer. I would like to place a progress bar on the form to show the progress of the file being transferred. Can anyone help
-
- Wrong output for CurentDirectory
by tempgp
- 5 Replies
- Last post
by Bruno Yu - MSFT
- Ok my app is deployed to C:/CompanyName/ProductName/ When I check curent dir on my developing machine by using My.Computer.FileSystem.CurentDirectory im getting path to corect location of my app Now when I deploy app to Win XP POS, and same app outputs my curebt directory im getting this: C:\Documents and Settings\UserName\ well that basically MyDocumments any one knows what is going on and why
-
- Using Excel In Visual Studio 2005
by rcash864
- 3 Replies
- Last post
by spotty
- Hello, I am creating an application in .NET using VB that incorporates importing data from an Excel sheet. To give you an idea of what I am doing, if you have ever used Access to get external data from a cvs or excel file there is something like a wizard in Access that imports the columns in from excel into a table and allows you to decide which columns to use, what field properties to assign each
-
- Rotating a picture box
by halfazner
- 14 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- Hello, I have a picture box - Picturebox1.image as a straight horizontal line. I want the right-hand end of the horizontal line to always point towards the mouse pointer when the mouse is moved. I've seen code snippets like: PictureBox1.Image.RotateFlip(RotateFlipType.Rotate90FlipNone) However, I need my picture box to PIVOT (on the left hand end of the horizontal line) rather than ROTATE and I ne
-
- TaskList Selected ITem
by Anu Viswan
- 1 Replies
- Last post
by joshs
- Hi
I am writing a macro in 2003 which would give me currently selected item in the tasklist.
i used TaskList.TaskItems for getting all the items in the TaskList, but i am not able get the one that is currenly selected.
Can anyone help
-
- COMException issue supposedly with file path
by Azrael Shadow
- 2 Replies
- Last post
by Azrael Shadow
- Ok, so I'm trying to open a Word document in Word 2003 from an external application. When the program is run I get a Command Failed error when I use error handling and a COMException is unhandled error when I don't try to handle the error. The code that is generating this error is highlighted within the block of code: Dim wordApp As Word.Application Dim wordDoc As Word.Document ' Try
-
- Passing values between different forms
by shevo
- 1 Replies
- Last post
by Nayan Paregi
- [VB2005]I have a list of customer information displayed in form1. They are bounded data in detail view with a search field at the top. The moment I input some names and enter search, I wish to display the results in datagridview(in form2) with a list of customers. The moment I select 1 customer and press ok, form2 will close and form1 will be displayed with all the information of the selected cust
-
- Alternatives for PrintForm(VB6) in .Net
by C10
- 5 Replies
- Last post
by rkimble
- I need to find a replacement for Vb6 PrintForm functionality. But i cannot use the Print form component from microsoft.
I found several solutions using the BitBlt API call. But again we are discouraged to use API calls. So if any one can help me out as to how this can be done only using only .net framework functionality it would be appreaciated.
I am not sure as to how the Graphi
-
- Passing Array to form
by Brad Corbett
- 9 Replies
- Last post
by LeonCS
- This is probably a simple question, but I haven't been able to Figure it out.
I have an Array that I build in one form, I want to open another form and pass the array to the new Form. I know How to do pass single variables to a form. Never did it with an array. thanks!
-
- How can i get the File Name from Webbrowser?
by Benny Lam
- 4 Replies
- Last post
by Bruno Yu - MSFT
- Hi all professionals, When i make the component of webbrowser as a windows explorer, i knew how to get a path of the user's click. But how to get the filename what is the user double click to open Thanks!
-
- Installing VS 2005 keeps on asking ' Please insert the disk: Visual studio 2005'
by Joginder Nahil
- 14 Replies
- Last post
by Kal-El
- The installation process for Visual Studio 2005 prompts ' Please insert the disk: Visual Studio 2005' everytime when I try to install VS2005. This is what I did: * Downloaded VS 2005 from the MSDN members download site. File name: en_vs_2005_pro_dvd.iso (size=2,825,748 KB) * Used MagicISO tool to unpack the files * Used Nero 6 to write the extracted files to the DVD * Crea
-
- Printing A CSV File
by Rain3204
- 4 Replies
- Last post
by doener
- Hi everyone,
I was already able to export my DataGridView data to a CSV file. My problem now is how can i print the CSV file via a command button in my VB.net application I really need this one any help would be appreciated. Thank you so much in advance!!!
Stan
-
- Computer' is not a member of 'My
by Flemming Ast
- 5 Replies
- Last post
by nobugz
- Hi,
I am trying to use
Dim value As System.Windows.Forms.IDataObject = My .Computer.Clipboard.GetDataObject()
however still get the error computer is not a member of my.
Any suggestions
Thanks,
Flemming
-
- Option Strict
by sammy chen
- 1 Replies
- Last post
by SJWhiteley
- Hi all:
I want to know if Option Strict and Option Explicit attribute will be built to assembly or pdb file
I find there are tow places to set the these two attibutes . the first place is in the project configuration and it is stored in the file[.vbproc] and the second place is in the source[.vb]
Can I know whether the Option Strict and Option Explicit is set to "on" In the two
-
- Date and Time Format Problem
by lucerias
- 14 Replies
- Last post
by Dick Donny
- Question one
May i know is there any time picker in VB.NET 2005 which allows user to enter a time The DateTimePicker can only retrieve current time and i think of using few combo boxes to form the format like hour,sec and AM or PM. Apart from that, is there any other way of doing it If i use the combo boxes method, how to parse the concatenation string as time and store in database
&nbs
-
- how do I change my code to early binding?
by qaf
- 5 Replies
- Last post
by qaf
- I am getting an error: Option Strict On disallows late binding.
I want to use option strict on because I think that ultimately it will make me a better programmer.
The question is, how do I change what I have done to early binding
The code that causes the error is this:
For i = 0 To page.HistoricalData.Count - 1
txtWebPage.AppendText( CType (page.HistoricalDa
-
- how to extend a class
by centech
- 14 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- Sorry this is in the same line as public vs private.
I have an instance of a class being created on one of the web pages.
how can I access a method of this class object in my report page.
Example:
This method exists in on the report server class
Public Class ReportServer
'Declaration of variables
Public Sub LOGFile( ByVal Desc As String )
Dim sw As S
-
- Form Title Bar Text Animation (VB, VS 05)
by FredMunro
- 3 Replies
- Last post
by Riquel Dong ¨C MSFT
- Hello,
I would like to know if it is possible to 'animate' the text in the form title bar, for example have it 'type' in or scroll progressivly along the title bar.
If this is possible could someone point me in the right direction or suggest how to do it.
Thanks in advance,
Fred Munro
-
- VB Forms and Database Bind
by Greg_59100
- 3 Replies
- Last post
by Riquel Dong ¨C MSFT
- I want to make a form where i will register new customers whose data will be stored in a sql server database. Which is the best way to do it. I'm a newbie in vb, so here is what i have done i have made the form and then binded each control to the dataset i have made that retrieves all the table of the database (when i run the for the 1st time the form, it really takes a long time.....to appear, al
-
- Class Question
by IceAngel89
- 9 Replies
- Last post
by IceAngel89
- if i create a class, eg. mask, which inherits from another, eg. general, if i put a constructor in the mask class, is it correct i need to copy the rest of the constructor from the general class. cos i thought i don't need to do this as i is inherited from the general one. Public Class General Private _firstOct As Integer Private _secOct As Integer Private _thirdOct As Integer Private _fo
-
- How can i link to a DLL
by Webbsta
- 1 Replies
- Last post
by TheCrash
- Hi, Im having a problem with the DLLs my application is using, My application uses AxInterop.MSWinsockLib.dll and Interop.MSWinsockLib.dll because it uses the MsWinsck control and runs fine when the DLLs are in the same folder and i run the application directly from the folder but when there is a desktop link to the exact same application and i try to run the application from the desktop link, my