-
- Exit Button (VB, VS05)
by FredMunro
- 9 Replies
- Last post
by TaDa
- Hello,
I've been looking around for a while now, is there a way to disable the exit button in the top right corner of the form
Or to atleast make it use this
Dim msg As String
Dim title As String
Dim style As MsgBoxStyle
Dim response As MsgBoxResult
msg = "Are you sure you want to continue " ' What do you want the message to say .
-
- Visual Basic Printing Power Pack Slow?
by SteveB98
- 12 Replies
- Last post
by JohnHart_MSFT
- I have a simple VB6 test program that I have upgraded to .NET 2005. This program sets the print font, page size, and calls "Printer.Print ([the text to print])". In the .NET project, I have imported: "Microsoft.VisualBasic.PowerPacks.Printing.Compatibility.VB6", added "Public Printer As New Printer", and specified "Printer.PrintAction = Printing.PrintAction.Print
-
- how to open a new form inside the same program
by eyalik
- 3 Replies
- Last post
by Bruno Yu - MSFT
- The subject kinda says it all.. I am wiriting a program where in one page all the data is entered and then by clicking a button a new form opens with the results. How do I open that new form (I know how to create it, just not how to open it) Quick help would be very much appreciated thanks
-
- How to put vertical scroll bar in menuitem
by Jwalant Natvarlal Soneji
- 6 Replies
- Last post
by nogChoco
- Dear friends, please any one help me. I have a menuitem with more than 500 items added to it and i wish the users can have fast navigation. is scroll bar can serve the purpose
is there anything else that can be use for instant selecting the image title and showing, what i have as menuitem right now.
thanks,
-
- WriteProcessMemory() Api Help
by VB Worker
- 10 Replies
- Last post
by edgarJface
- I have a problem with WriteProcessMemory() that I am trying to use. My code looks like this:
Public Declare Function WriteProcessMemory Lib "kernel32" ( ByVal hProcess As Integer , ByVal lpBaseAddress As Object , ByVal lpBuffer As Object , ByVal nSize As Integer , ByVal lpNumberOfBytesWritten As Integer ) As Integer
Dim appProcess as Pro
-
- Pass Dataset to Recordset
by GPinNY
- 5 Replies
- Last post
by GPinNY
- I have developed an interop version of the DataGridView for use in an existing VB6 application. I pass a recordset to the DataGridView.DataSource, converting it to a datatable in the process. No problem.
However, When the user is done editing I need to pass the datatable back to VB6 as a recordset. I have looked at and tried http://support.microsoft.com/default.aspx scid=kb%3Ben-us%3B316337 wh
-
- (ComboBox)On FormLoad displaying last item as selected
by sHaRk!&#33
- 2 Replies
- Last post
by sHaRk!!
- Programming Language : VB.NET 2003
I have a DataTable DT which populates itself from a DataBase Table.
This DataTable DT has now 2 columns
Col 0 = IdField
Col 1 = NameField
This DataTable DT contains 9 rows
Example:
row1 = OS-0001
row2= OS-0002
and so on
now I add a row explicitly
Dim dr As DataRow
dr = DT.NewRow
dr("N
-
- Using TransactionScope
by DazlerD
- 2 Replies
- Last post
by DazlerD
- Hi
I have a simple Windows Service that reads from an Excel spreadsheet and imports the records into a SQL Server 2000 database table. Before it loads it checks if the file has been successfully imported before (using filename) and whether any of the records in the file have been imported before (using primary key).
If these checks are ok I load the records into a datatable and then
-
- Only allow numeric and dot . keystrokes in textbox
by OMEGA_ReD
- 8 Replies
- Last post
by OMEGA_ReD
- How can i force an textbox only to allow numeric and .(dot) key strokes and for another textbox only allow letters a,b,c,e.... etc z thx
-
- VB.net script
by CBehm
- 1 Replies
- Last post
by Matt Falzon
- I need to write a VB.net program that can access a SQL db and change column lengths, Char size, field names etc...
I'm just looking for general direction on where I can find some readings on how to do this. I want to create a front-end app that can access a SQl db to change these above fields. Any Ideas
-
- My.Blogs & VB2005 Express
by HughFraserLarne
- 4 Replies
- Last post
by HughFraserLarne
- Hi,
Can anyone tell me if I can use My.Blogs with VB2005 Express, I have tried but was not successful at it
Thanks
Hugh Fraser
-
- Visual Basic .NET 2003
by UnLuckyNumberSeven
- 6 Replies
- Last post
by UnLuckyNumberSeven
- Hello, is it possible to create native win32 exe using VB 2003 Also, I'd like to use VB to create user interface and using C/C++ to processing things underneath. How/Where do I start For example: I have two textboxes (on a window form), textbox1 and textbox2 for user to enter two digit numbers. So when I user enter the two numbers, I'd pass these two vars as parameters to call C/C++ functions in
-
- Editing a Text File
by WalangAlam
- 5 Replies
- Last post
by WalangAlam
- got text file sos.dlm and some of the line contain *. I want to change all the asterisk to 0 -content of my text file ----------------- "2073308","4","2","1","2","1","1","4","4","2","1","2","4","*","4","2","1","1","
-
- Install Trouble
by Pete_M
- 6 Replies
- Last post
by Pete_M
- Hi,
I've asked this question before and haven't ever gotten an answer that resolves my troubles. I have completed my project (using Express Edition) and want to deploy it over the web using ClickOnce. I put it up on a website, and I can install it without any trouble on my computer. The problem is when install it from another computer.
When I click on the install button of the ClickOnce gene
-
- Difference Between Basic & Web Developer?
by MelAnne
- 8 Replies
- Last post
by MelAnne
- I hope I'm in the right place -- if not, please redirect.
I'm new to all of this stuff, but I enjoy teaching myself different aspects of my website. I have a simple, personal website with several pages -- nothing fancy, but I might like it to be. I'm not afraid to learn.
Having that said, I downloaded Expression a while back and recently became interested in the Expression Blend trial versio
-
- about Type class
by janue
- 5 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- hi, I am working a project and I found some codes on the internet and one of them got something like:
If c.DataType <> Type.GetType( System.Guid ) Then
Or...
If dg.DataSource.GetType() = Type.GetType( DataTable ) Then
Notice the words underlined. I am currently using Visual Studios to work on this project because I know little about VB, and the code doesn't s
-
- How to Bind Custom Attributes with database values?
by AnkushTewari
- 2 Replies
- Last post
by AnkushTewari
- Can any one guide me, how to bind the custom attributes with database values in vb.net
I just know one thing, Custom Attributes are binded during complilation so i am looking if there is anyway to bind data as value to custom attributes using database or any static xml file.
-
- change code from c# to vb
by mishsad
- 2 Replies
- Last post
by David Anton
- hi, can you please translate the following code into visual basic language
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.SqlClient;
namespace WinRichText { public partial class Form1 : Form { public Form1() { InitializeComponen
-
- Layout issue
by Rafael Euclides
- 1 Replies
- Last post
by nobugz
- Hi guys, I created a form with a default resolution of 800x600 and i wan't it to keep the layout of it contents when i resize it for 1024x768 for example. When i do that the size of labels are resized but they stay on the position they were on 800x600 resolution. Is there a property of the Form that need to be configured so it can resize the contents and fix it position to keep the original layout
-
- Creating dbf file in vb net 2003
by VBAddict
- 4 Replies
- Last post
by Cindy Winegarden
- HELP PLZ... can somebody help me...
i want to create a dbf file thru code in vb net 2003... i dont know how!....
-
- How to make the ToolTip text MultiLine?
by Cesar Francisco
- 5 Replies
- Last post
by Cesar Francisco
-
- Tableadapter.update with auto-increment on SQL column problem
by HarveyC123
- 10 Replies
- Last post
by D.V.Sridhar
- Hello, I'm using databound textboxes to display data from a database on VB.net 2005. I have an "add new" button, which does this: BindingSource.AddNew() - and then once the user has entered the details, they click a button that updates the database: Try Me.ChildrenBindingSource.EndEdit() Me.ChildrenTableAdapter.Update(Me.Main_databaseDataSet.Children) Catch ex A
-
- Change the Webbrowser file view property
by Simon Williamson
- 2 Replies
- Last post
by Simon Williamson
- I am using a webbrowser in VB2005 to display the contents of folders on my computer (i.e like windows explorer) When the folder loads into the webbrowser its always in large icon format. I can right click the window and get a drop down menu to change view but how do I do this automatical using VB.NET code
-
- VB Error
by Davids Learning
- 1 Replies
- Last post
by DMan1
- Error 18 Unable to embed resource file 'C:\Documents and Settings\MyName\My Documents\Visual Studio 2005\Projects\MyApplication\MyApplication\obj\Debug\My_Application_1.Reg.resources': Not enough storage is available to complete this operation.
Hard drive
got 60gb free
What does that mean
I went to build my project and I got that error 36 times.
Close VB out and restarted,
-
- SQL BindingNavigatorCountItem total number of records incorrect
by Anonymous566609
- 14 Replies
- Last post
by Anonymous
- I have a windows form with sql adapters and a binding navigator tool strip that conatins a bindingnavigatorcountitem. The SQL BindingNavigatorCountItem total number of records is incorrect after deleting a record. The total number shows 2 records less instead of 1,
i.e.. if it shows 1 of 40, after deleting one record it will show 1 of 38 which
is incorrect. If I exit the program and go back