-
- Error: Line 1 incorrect syntax near '-'
by Paolo Giorgio
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Hello
My application return this message but i don't understand why.
Before i write this code to fill the dataset
Dim dataSet11 As DataSet = New DataSet
AdapterCategories = New OleDb.OleDbDataAdapter( "SELECT [Document Type] as DTYPE, No_,[Web Order No_] AS WEBORDER, [Workflow Status] AS ODV_STATUS FROM dbo.[XXX$Sales Header] WHERE [Document Type] = 1" , connection)
-
- Convert JPEG to TIFF file format ?
by suis
- 2 Replies
- Last post
by suis
- Hi everybody,
i have a questio like i have a couple of JPEG image files,now i need to converti that every images to a TIFF
Images file format ! i really like to know how do i do this tasks using vb.net.
any idea any good articles for this topic
regards
-
- Making a null cell in SQL Server
by jamesparsons@cox.n
- 2 Replies
- Last post
by jamesparsons@cox.net
- I am using Visual Basic 2005 with a SQL Server database using a table with a cell that accepts null values. The only problem is that when I change the cell from containing text to null I get an error. I know for a fact that the table cell is set to null so is there anything special I have to do to allow the cell to be null. Thanks!
-
- Passing a custom Type to a Function as one of the parameter in Classic ASP with COM Interop
by Murty
- 3 Replies
- Last post
by Murty
- Hi to All, I'm creating a typelibrary from the .net classLibrary project with com interop. Below is the code for classess in the .Net ClassLibrary. *************** ClassA <ClassInterface(ClassInterfaceType.None), Guid("0DEA09B3-7D10-4d4a-A1CA-C0D5ED5CCB7E"), ProgId("ClassA")> _ Public Class ClassA Implements IClassA Private n1 As Integer = 0 Private n2 As Integer =
-
- Starting an application using VB
by MTBER
- 10 Replies
- Last post
by MTBER
- Does anyone know how to open an application using VB. i am new to VB and i have no idea how to do it.
Thanks,
-
- How to remove characters from string and display only numbers? (VS 2005- VB)
by Vaish
- 6 Replies
- Last post
by cybertaz69
- Hi
I have a combobox1 with collection of cities and code like below
Aberdeenshire 5678
Aberdeen 4567
West york shire 3245
All cities have 4 digit code.
My question is how do I display only the 4 digit number in a message box when textchaned in the combobox1
ex : 5678
Advance Thanks
Vaish
-
- Managing Font Information
by Le Phare Rouge
- 2 Replies
- Last post
by Tall Dude
- Dealing with the font information for a control seems complicated and perhaps someone can explain a simple method to record font information. Net offers several dialog controls such as fontdialog andcolordialog. In using the fontdialog. My code looks something like this:
Dim fd As New FontDialog Dim dr As DialogResult = fd.ShowDialog( Me ) TreeView1.Font = fd.Font Dim StringView
-
- HELP! - Classes and Arrays or Classes
by Bob Pokorny
- 5 Replies
- Last post
by Bob Pokorny
- I would like to create a nice little object that contains project information, along with some field mapping information and other things. However, I'm not too familiar with classes and arrays in .NET, so any help is appreciated.
My application starts out by asking for a project name and a source data connections string.
Followed by selecting which fields you want to read
Followed by
-
- System tray icon
by Loane Sharp
- 5 Replies
- Last post
by Dick Donny
- Hi,
I have an application that is controlled by a service. when the service starts, an icon is supposed to be placed in the system tray and this icon is then used to display a balloon intermittently. the problem is that when the icon is placed in the balloon and for some time after this, it is visible in the system tray, but after some time if i try to hover the mouse over the icon, it then dis
-
- FileIOPremission Exception When Accessing Any File
by BTowal
- 14 Replies
- Last post
by rkimble
- Hi, i'm completely new to VB but not at all new to programming. I'm trying to create a very basic first program with Visual Basic .Net 2005 but keep getting an error that I have no idea how to handle.
My code:
Public Class Form1
Private mImage As Image
Private Sub Panel1_Paint( ByVal sender As System.Object, ByVal e As System.Windows.Forms.PaintEventArgs) Handles P
-
- implementing an interface that an event as one of its fields
by Michael Rubinstein
- 3 Replies
- Last post
by Michael Rubinstein
- So, I have this:
public interface IChangeable
{
event HasChangedEventHandler HasChanged;
}
Anyone knows how this bad boy would get implemented in VB 2005
The problem here is that I'm used to implementing methods, I have no idea have to implement events. So, the big question in essence is, how does one implement events when they're in the inter
-
- Custom BindingList(Of T) issue
by r1coder
- 2 Replies
- Last post
by Dick Donny
- I have a situation where I want to declare a base type as the generic in a BindingList declaration but need to expose the properties of a passed derived type. I have several derived types that expose completely different properties however they will all inherit from the base type .
When I bind to a UI control, only the base class properties get bound. If I use "Object" as the Binding
-
- Bad loading
by chazparks2
- 1 Replies
- Last post
by Bruno Yu - MSFT
- Why do I get this:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
Shouldn't this remove any problems:
QI02414DevDataSet.dtValidElementTypes.Clear()
daQI02414.Fill(QI02414DevDataSet, "dtValidElementTypes" )
-
- Question about BackgroundWorker
by Troy Lundin
- 9 Replies
- Last post
by spotty
- I have a small program that will allow a user to select a handful of files (installers) and it will install them automatically. I have it setup now like so:
Dim Proc As New System.Diagnostics.Process Proc = Process.Start(Files(Int), "/VERYSILENT" ) Proc.WaitForExit()
I have that inside a loop that goes through each file that was selected. This method causes a delay for my pr
-
- Accessing window elements from within a module
by kleelof
- 4 Replies
- Last post
by Spidermans_DarkSide - MSP, VSI
- Hello,
I am trying to use a module to minipulate objects in a window created by a class. Here is a simplified listing of what I am trying to do:
Public Class Form1
Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load
Using form2 As New form2win
Hide()
form2.ShowDialog()
Show()
End Using
-
- Strange files in project/solution
by myoungbl
- 3 Replies
- Last post
by Bruno Yu - MSFT
- Hi!
I just opened my project after closing it, and there is a whole bunch of files named CWPnnn.HTM (nnn=number) listed in my project. When I open them I get a web page listing a name of an object I've defined as such:
Code Snippet
< HTML >
< HEAD >
< META http-equiv ="Content-Type" content ="text/html; charset=UTF-8">
-
- VB.Net programming on VB6 IDE???
by Amit_Prasad_b5c0ef
- 3 Replies
- Last post
by Alex Moura
- Can VB.Net Programming be done on VB6 IDE...i have .NET framework installed on my computer
-
- Tab Page Control
by ChristianBG
- 4 Replies
- Last post
by Suprotim Agarwal
- I am trying to hide and show TabPages according to the selections of combo box. but when i execute this code
If cmbProductType.SelectedIndex = 6 Then tcItemMaintenance.Visible = True tcItemMaintenance.TabPages(0).Show() tcItemMaintenance.TabPages(1).Hide() tcItemMaintenance.TabPages(2).Hide() tcItemMaintenance.TabPages(3).Hide() tcItemMaintenance.TabPages(4).
-
- Moving or Deleting resources locked by the same .NET application
by Rahul Singla
- 10 Replies
- Last post
by Rahul Singla
- I have a form, which shows an Image to the user in a PictureBox. The user might choose to remove that image or move it to a different folder. I use My.Computer.FileSystem functions to accompolish these tasks. Trying to execute any of these tasks generates a "File locked by another application" exception. I can presume that my app itself is the only app locking that resource (image file i
-
- VB 2005 Express & SQL Server 2000
by C Dunn
- 4 Replies
- Last post
by Billy2005
- I just started trying out VB 2005 Express, i'm trying to connect to a SQL 2000 server, is that possible I'm only seeing options for SQL 2005 or Access Any help would be great.. Chris
-
- Strange Try/Catch Problem
by stuohy
- 5 Replies
- Last post
by John Oliver (UK)MSP, VSIP
- I have a Windows form (code below) Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim interval As Integer interval = ConfigurationManager.AppSettings("PollInterval") Try Dim
-
- calendar /scheduler
by giuseppe500
- 1 Replies
- Last post
by Bruno Yu - MSFT
- hello. Do you know a calendar/sheduler simil outlook control for vb.net or c# (freeeware). Thanks.
-
- Run applications and open files with Visual Basic
by frxstrem
- 14 Replies
- Last post
by LoD94
- How do I run files/application with standard editor/viewer
-
- Listboxs with multicolored items
by Waltari
- 13 Replies
- Last post
by Blader
- I've got an application that will add action items to a listbox. Some of the items are higher priority (Red) and others are not (Yellow). Is there a way to put both colors into a listbox
-
- Managing .net exe from another .net application with out adding reference at design time
by Ajith Muraleedharan
- 1 Replies
- Last post
by Riquel Dong ¨C MSFT
- i have to control the forms in an exe from my .net application. path of the exe will get only from a db. so that i can't add exe's reference at design time. All the forms available in that exe is also stored in Db
I have to load the forms in that exe. Also have to control and close that form from my .net application