-
- Linking a Click Button to a PDF, Word, Webpage
by thatzdomdom
- 5 Replies
- Last post
by ReneeC
- Hi I would like to find out how I could link up a click button to open a PDF, Word and Webpage. I am not an IT person and my field of studies is Finance. But I was task to do a simple menu and only then I realize how difficult programming is.
Could anyone help
Desperate Dominic
-
- Problem using IMAPI2 to write files to CD\DVD
by johng4etm
- 3 Replies
- Last post
by JohnWein
- I am trying to write a collection of files to CD\DVD using IMAPI2. I have installed KB932716. My OS is XP(SP2).
I have created the following code from a VB Script (which works) but am getting the error
Member Not Found(Exception from HRESULT: 0x80020003 DISP_E_MEMBERNOTFOUND)
at the statement
dataWriter.recorder = Recorder
Can anybody tell me what I am doing wrong
-
- Resize a Rectangle in design view
by ugp
- 1 Replies
- Last post
by nobugz
- Resize a Rectangle in design view I have created a user control to draw a rectangle; when it drag and drop the user control. It draws..ok But I need to resize this as well . how to do this!!!!!(Resize it by dragging the mouse in the design view)
-
- how to add window media player to a form?
by Rinaldo1961
- 10 Replies
- Last post
by Rinaldo1961
- Hi
I have examine a few source codes with media player in it, but can't figure out.
They using all Axx nterop.WMPlib.dll and InteropWMP.dll .
Is there a simple way to open an musicstream from http in the mediaplayer added to a form
For me as beginner it would be a great help.
Thanks
-
- Debug Assertion Failed! Expression: vector subscript out of range
by Ehud Orian
- 7 Replies
- Last post
by Ehud Orian
- Hi,
It's a problem in problem. I have a C++ project that stucks during runtime (either in debug mode or not), issuing the following error window:
Microsoft Visual C++ Debug Library
Debug Assertion Failed!
Program: бн
File: c:\program files\microsoft visual studio 8\vc\include\vector
Line: 756
Expression: vector subscript out of range
-
- Help!!! This code is killing my Computer.
by AngelinaPerez
- 14 Replies
- Last post
by ReneeC
- I am writing to kindly to ask you guys for help. I have been working with the lines of code below which merely locking up and disabling the computer: Private Sub Alert_btn_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Alert_btn.Click Dim conn As New SqlClient.SqlConnection(My.Settings.CSTConnectionString) Try If conn.State <> ConnectionState.Open Th
-
- Memory Leak from a loop inside thread.
by shakti
- 6 Replies
- Last post
by Brad R
- Hi everybody, I am having memory leak problem from inside the thread. I have create this thread which does a monitoring on certain activity. This thread may run for 3/4 days. I have put a While loop inside the thread which is making the thread to do the same monitoring task again and again. This thread also interacts with the database too. Environment : language : C# Databse : SQLite (its a small
-
- Visual Basic...SQL Express...etc.. Redistributable?
by elamey
- 2 Replies
- Last post
by js06
- Anyone know how to download VB Express, SQL Express etc... as a redistributable package I'm allowed to have it on my PC at work...I'm just not allowed to download it.....yes, that is not a typo. I can download it at home and bring it in, but it needs to be a redistributable package. Thank you
-
- (Manual versus designer) relation constraints?
by js06
- 2 Replies
- Last post
by js06
- Ok here is another question i have on creating code myself or using the designer to do it.
Since the code for many things that are setup with the designer are hidden from us, i have a hard time deciding whether it is better to create the code myself rather than rely on the designer doing it. Where is all this magical code at anyway
I guess the new tools and wizards in vb are designed
-
- error trying program on other pc
by SnakeSV
- 14 Replies
- Last post
by Abcidefugian
- Hi
I've got a program. It has 1 source file (.cpp) and 1 header file(.h).
When I compile on my local machine the program works just fine, but when I try it on another pc I get the error that somethings wrong with the configuration of the program and that it can't be run.
I have .net framework 1 till 2 installed and the microsoft visual C++ 2005 redistibutable on the other pc.
Anyon
-
- Need a parameter for saving an image
by WidgetWorking
- 5 Replies
- Last post
by Tall Dude
- I can't use b.Save("C:\MyPic.bmp") here because the user specifies the location and name when saving the image. I have no idea what parameter to use.
Public Class Form1 ' Controls: Button1, Button2, PictureBox1, OpenFileDialog1, SaveFileDialog1
Private myImage As Bitmap
' User opens an image of his choice. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e _
-
- Window or Form size
by mariobkk
- 9 Replies
- Last post
by Feng Chen - MSFT
- Hello, I'm pretty new to Visual Basic and since a couple of days I try to figure out how I can get my forms to fit in the window. Here is the situation: I got an MDI Forum with a menu on it, same like Word or Excel. When I click on a link, another form should come up, but this form should fit exactly into the gray area of the MDI form, so that the menu is always visible. When I open my current fo
-
- Help !
by ang3la
- 1 Replies
- Last post
by ang3la
- i got a size column
and i set to datatype numeric(3,0) in my database
when i run my form , i type 1.234 in the column and save it
and when i restart my form , it show my size 1.000.
i dun want it to change, what should i do, or did i do anything wrong
-
- Carsten, did you know you can lead a horse to the debugger but you can't make him/her use it?
by ReneeC
- 14 Replies
- Last post
by ReneeC
- What is it about the debugger that people find so threatening
-
- Creating a Progress bar for Web Browser
by bosoxboy211
- 1 Replies
- Last post
by ReneeC
- Yea, I am creating a simple web browser and I wanted to know what should I program for the proress bar to get it to load as the web page loads Thanks
- Chris
-
- How to develop application which will be run on linux/mac?
by CSH100885
- 4 Replies
- Last post
by orcmid
- I'm using Windows XP home edition with sp2. I'm using visual c++ Express Edition. I saw the code "using namespace System::Windows::Forms;" in the source code of my project. Does it means my project can only run on windows
I want to develop a software which can run on Windows, Mac and Linux operating system. I hope that I can compile my software in mac/linux by only using the compi
-
- VB .NET are new for me
by oscarjaime
- 14 Replies
- Last post
by jgalley
- I like to learn VB, also I have a card game project that I like to develope with VB - Can anyone give me some orientation
I did program on C, 20 year ago, but I don't remember almost nothing. Any way I'm going to thing that is a new callenge for me.
My card game project will shuffle the cards in two ways: the regular FLIP way; and ORIENTATION. Orientation mean when we shuffle the cards, the
-
- Single Instance on Open File
by laiseng
- 1 Replies
- Last post
by Martin Xie - MSFT
- i've created a setup project and added my own custom file extention. When open that file it will launch my application and then load the file But how do i make it a single instance when my application already running and i want to open a file from windows explorer and it will close the previous file in current instance and open the new file
-
- Pointers?
by Nate879
- 8 Replies
- Last post
by SJWhiteley
- Can you use pointers in VB
-
- saving settings in a form
by jebtrillion
- 2 Replies
- Last post
by Tall Dude
- I have a combobox that you can add text to. I would like the text I add to stay when I close the application and open it back up again. unfortunatly everything i've tried does not work. Help would be apreciated.
Thanks,
Alex
-
- kill an old label
by BadButBit
- 8 Replies
- Last post
by nobugz
- hi,
I'm dynamically generating many, and potentially many, labels... but I want to get rid of the ones I don't need(as opposed to putting them in a retirement home or recycling)....
so I have a global array of labels that I redim preserve and add to as needed... but when I start over and don't need the previous batch... I thought
redim lblMyLabels(0)
would destroy all the unwanted,
-
- autoScroll Text
by chris441962
- 5 Replies
- Last post
by chris441962
- Hello.
Can some one tell me please how
ya get text to automaticaly scroll up
in a textbox
Thank you.
-
- Multiple items in listbox, showing same item more than once, how to remove?
by mcgin1591
- 3 Replies
- Last post
by mcgin1591
- ok i have a download history. it will add the link you click if its a file link ( such as .zip). but when u click the link again it adds it again. and i have 2 of the same items in teh listbox. how do i make it so it will just overwrite it or will not make another of the same item in the listbox
-
- iostream problems
by Olof Tangrot
- 14 Replies
- Last post
by Olof Tangrot
- Hi there, I was trying to port some legacy Win32-projects to Visual Studio 2005 Express but have run into problems which I have managed to narrow down to the usage of the C++ iostream library. The problem also occurs in a Win32 console executable as exemplified below:
The code (solution created from scratch in Visual Studio 2005 Express):
#include "stdafx.h"
int
-
- Specified cast is not valid.
by dotNET Dev
- 5 Replies
- Last post
by dotNET Dev
- hey guys,
I hang on one issue since last two weeks. I have VB 2005 Express edition and crystal report XI 2. When i try to open external crystal report file using VB 2005 but it shows error as "Specified cast is not valid."
This code is under button_click event.
I tried to search on site but couldn't find solutions over this.
My code as follows:
Dim CR As New Repo