-
- how to execute large query?
by Liquidloop
- 1 Replies
- Last post
by kleinma
- Hi,
I have this very query which i need to execute from my adodb.recordset, Now i've designed this query in query analyzer(SQLServer). Now i want to execute this query from frontend, with some values put into it. Problem is that it losses all formating that i've done in query analyzer.
I think proper method would be to create a strored procedure and passing parameters, but i can't do
-
- context menue strip problem
by Rajesh batchu
- 0 Replies
- Last post
by Rajesh batchu
- context menue strip is a strip that appears when ever the right click is clicked in a form
i have kept the check box colum appear= true in context menue properties
my requirement is
when ever the right click is clicked and the context menue appears
and after selecting a particular item in the menue the menue disappears
my requierment is that the menue should not disappear so that i
-
- FileGet Structure error.
by JohnWein
- 2 Replies
- Last post
by Riquel Dong ¨C MSFT
- How do I get rid of the error at the FileGet statement in this code
Code Block
Public Class Form1
Structure TestStruct
Dim A As Integer
Dim B As Integer
End Structure
Dim T(2) As TestStruct
Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles Me .Load
-
- Assigning the address of a class default property to a function delegate?
by Julian Bushell
- 3 Replies
- Last post
by PEng1
- Hi,
I am using a signature
public delegate T BinaryFunction <Arg1, Arg2, T>(Arg1 x, Arg2 y);
And wish to assign this delegate to a class default property e.g.
Public Class Add
Default Public ReadOnly Property Add( ByVal x As Double , ByVal y As Double ) As Double
Get
Dim n As Double = x + y
Return n
-
- Broken Publish Tab (VSTS Pro on Vista)
by stand__sure
- 3 Replies
- Last post
by RSchoe-MSFT
- When I click the "Publish" tab for the project, I get the following message: An error occurred trying to load the page. The publish components are not available. You need to reinstall Visual Studio to publish your application. When I right-click the project and select "Publish," I get the same error Error: The publish components are not available. You need to reinstall Vi
-
- Multithreading cancellation Methode
by FreddyHalim
- 6 Replies
- Last post
by FreddyHalim
- Hi All, Lately I explore about multi threading,because there is a urgent need to implement this feature.I came up with a case of multi threading cancellation. There is two kind of multi threading we have. 1. threading in the program itself. ex. Private Sub Worker_DoWork(ByVal sender As Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles Worker.DoWork Dim intI As Integer Dim i
-
- string matching pattern
by gorla
- 3 Replies
- Last post
by OmegaMan
- hi all,
i want to work on string matching pattern. can any one tell me that in how many ways i can check pattern.
thanks
-
- system tray information
by kissii
- 5 Replies
- Last post
by DMan1
- Hi, I am new to Visual Basic. I want to write a application to know what are processes/Services running in system. What i am thinking is if i get system tray information, i can collect all processes/Services from there. Can you please help me how to get system tray information Thanks in Advance Kishore
-
- Combine Tiff files into a multipage tiff file
by jsena
- 3 Replies
- Last post
by Kaushik Chakraborti
- I'm using Visual Basic 2005 Professional, and I'm building a program that at the end will need to take several single page tiff files and combine them into a single multipage document which will be saved somewhere else. I can feed it the names of the files that need to be combined but I don't know how to combine them. Any thoughts
thanks,
jordan
-
- Shell a .exe
by SureshP
- 3 Replies
- Last post
by SureshP
- Hi
I would be grateful if someone could help.
I have a console application that will ned to 'shell' and run a .exe program. Any ideas of the best method to do this
Thanks in advance.
Regards.
-
- .rowfilter help
by Deluxe01
- 1 Replies
- Last post
by Rick
- How can get the .Rowfilter method to filter based on the text in a combobox. I have this working: .RowFilter = "Sport = 'NFL'" I want something like: .RowFilter = "Sport = ' combobox.text '"
-
- Calling console app from web app...
by braverwon
- 2 Replies
- Last post
by braverwon
- First thanks in advance for viewing and possibly answering this thread.
I have created a console application that recieves command line parameters; using the parameters the application reads through a folder structure and unzips a set of files. The files are then rezipped into a single file.
The web application provides the parameters to console application.
The zip files live on a differ
-
- DateTimePicker and language
by Gpg
- 7 Replies
- Last post
by xasxdasAnonymous
- Hi everybody
first: thank for your help
second:
i have a DateTimePicker with a custom format like dd MMM yyyy. it display 13 dec. 2006. it's right
my regional settings is fr, for all of my application, it' right too
but for date, i want an english format: "dec" instead of "dec"
how can i do it
is there a method or value for define them
thank'
-
- GetPixel reads from images: what reads pixels from Graphics or Screen object?
by LeonCS
- 5 Replies
- Last post
by LeonCS
- Hi everybody!
I have learnt how to read individual pixels on a bitmap using:
color=bitmap1.getpixel(x,y)
Is it possible also to retrieve pixel color from either a graphics object or a screen object
Thanks guys
-
- [PROVIDEX][ODBC DRIVER][FILEIO] Table is not accessible
by Ebox
- 2 Replies
- Last post
by Bruno Yu - MSFT
- I just added SQL Server 2005 to our Windows Server 2003 R2. The plan is to split our Access database into a Front-End and have the Back-End stored on SQL. We also have a 3rd party software (MAS90 Version 4) which I have linked in SQL Server and created Views. I have moved my Access tables to SQL too. Problem is if I work off a local copy of Access on the server I can see all the tables & views
-
- VB2005EE PRINTING LANDSCAPE
by Ehmer
- 1 Replies
- Last post
by Bruno Yu - MSFT
- I dont mind printing one page at a time; but how do u print landscape. The provided tools dont work:
PrintDoc.PrinterSettings.DefaultPageSettings.Landscape = True
Could someone help
Regards,
Ehmer
-
- .Net 2.0 code ......
by Gish
- 1 Replies
- Last post
by ahmedilyas
- Dim strPCName As String = System.Configuration.ConfigurationSettings.AppSettings( "PCName" )
When I convert the above project for VS 2005, it says the above statement is obsolete and has been replaced by ¡®System.Configuration!System.Configuration.ConfigurationManager.AppSettings¡¯.
Please help me to convert the above statement.
.Net Framework 2.0.
Thank you,
-
- custom label control
by Anonymous568107
- 1 Replies
- Last post
by cybertaz69
- I don't know if someone has already asked this question but How can i go about to create a label which can be exapnded by dragging on it, instead of increasing the size in the properties window.
-
- USING ARRAYS!!!
by GODDY
- 10 Replies
- Last post
by LeonCS
- I have used this code to creat a sequential text file called MEMBERS.TXT. i want to get the information from the file and put it in an array but i dont know how to do that ....please help me.
Private Sub Form1_Load( ByVal sender As Object , ByVal e As System.EventArgs) Handles MyBase .Load
Dim objStreamWriter As System.IO.StreamWriter
objStreamWriter = System.IO.File.CreateTex
-
- Picturebox.Image Question
by jcsam
- 6 Replies
- Last post
by nobugz
- Hello All,
I'm loading a picturebox like this: pb.Image = Image.FromFile("Path to file") Whenever I try to delete the file I get the error "...File being used by another process". How do I delete this file I've tried setting pb.Image = Nothing and it still say's it's being used. Thanks all.. jb
-
- OverflowException
by guish
- 4 Replies
- Last post
by Riquel Dong ¨C MSFT
- My problem is next: ( sorry for bad english ) somewhere in code: ... dim temp as integer = csbyte(somevariable) ... if somevariable is type of byte and have value &HFB i get OverflowException but the same thing in c#:...
int temp = (sbyte)somevariable; ... This works fine. temp is -5 Can you help me with VB problem
-
- textbox position
by Wappie29
- 0 Replies
- Last post
by Wappie29
- Hello,
i have a print button and print severall textboxes. but i want to coordinate my textbox at a other position
my code is this
e.Graphics.DrawString(TextBox1.Text, TextBox1.Font, Brushes.Black, New System.Drawing.RectangleF(e.MarginBounds.Top, e.MarginBounds.Left, e.PageBounds.Width, e.PageBounds.Height))
like 30,400
how do i do it
-
- Cannot save in Datagrid
by xswzaq
- 13 Replies
- Last post
by Angel_LL
- I am using visual studio pro edi. I create a datagridview that is link to myDatabase. When I run (debug), I can add new row and successful save it. I also can delete the row and successful save it, but when I try to change information on the existing row, it did not allow me to save. Please help me solve it. I have search and thought the problem start with ("Copy to Output" -> Copy if
-
- Help implementing a very dynamic context menu
by joynerCN
- 5 Replies
- Last post
by joynerCN
- The only way I can think of asking this is to describe the entire menu. I've got it implemented right now, but it's a pain in the you-know-where to edit because it's implemented so fragiley, so I figured I'd ask if there's a better way to do this.
Have a map (literal map, a map of the USA) that has little icons all over it where cities are. Each icon has one or more 'servers' associated with it
-
- Read File not working
by Chinny
- 2 Replies
- Last post
by spotty
- Morning,
I've created a script using the System.IO setup but i'm having a lot of trouble trying to work out why it isn't working. please see below.
Imports System.IO
Public Sub loadProducts()
Dim sFilename As String 'name of file in directory
Dim sr_ProductsFile As StreamReader 'file reading variable
Dim sLine As