I am rewriting an existing app from another language to vb.net.
It is basically a form designer for user defined forms.
The old app allows the user to select and move the screen objects,(textbox, combobox, etc) to new locations
and then stores the coordinates to a database table.
The objects...
My application retrieves files of type doc,pdf,rtf,xls,zip,wmv,,avi and all still images for use
and subsequent storage to the data base using vb.net 2005.
The app works well for many of these, however some do not.
I get truncation warnings when attempting to save some of these file types, all...
I'm trying to implement windows media player in a vb window
using the following code:
'Player = AxWMPlib.AxWindowsMediaPlayer
OpenFileDialog1.ShowDialog()
Player.openPlayer(OpenFileDialog1.FileName)
It works fine except it actually opens the WMP outside my application and not in the wmp...
Sorry, I know this is a bit off topic, BUT all my toolbox entries are gone, vanished. No Data,General,Forms items.
The reset in the toolbox->customize does not work.
I cannot add anything to the toolbox, it is dead.
How can I get my items back ?
I tried a repair installation, nothing...
Visual Studio.net 2003
My entire toolbox contents have disappeared.
(Tools -> add toolbox items -> com)
I added a media player control, used it , went to add a text-to-speech control and every custom and default item in my tool box is gone.
Tried to reset to default but it does not work.
Do...
From an array of primary keys, what is the best method to
retrieve that row and it's subsequent elements ?
This code populates a datagrid and then the array of keys.
=============================================================
Private Sub PopulateImageBrowser()
Dim DApics As New...
Hi
This is a prototype to return a lookup value to a calling form.
Enter some value on screen
Form1 calls form2
Data from form1 is modified
form2 exits
Form1 wants to display what was entered in form2.
Form1 Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As...
I have a form 'myform.vb', with some menu options on it, one of which is 'new'. When I select 'new', I want to run
a different form, 'myform2.vb',to collect some data.
So, How do you run 1 form from another ?
On my home planet I would just code:
Run c:\myDir\myForm2.exe.
Both forms are...
Every time I think I understand datetime arithmetic, I prove myself wrong ......
I have 2 datetimepickers, one for date selection and 1 for
time selection.
My DB has 1 datetime field.
My user selects a date then a start time in the 2 DTP's
I want to combine the time portion from time dtp to...
I'm a bit new to .Net and am perplexed by some unwarranted
complexity.
dim d as datetime
dim dur as int
d = datetimepickr1.value.
datetimepicker2.value = d.addminutes(30).
This works ok, but now I want to use the contents on myField
in place of the hard coded value of 30.
I have a db field...
If I execute the following query in the SQL-2000 Analyzer:
Select myDate from myTable where myDate = '11/03/2004'
I get appropriate results.
BUT,If I grab the date from a DateTimePicker on my vb.net form and execute the exact same query, I get Nothing....
The db column is a smalldatetime...
SCR 8.5,ActiveX --
When sending a report to a network printer using the
printer Name,port,driver from the windows Registry,
Crystal does not print. There is no error. Local Printers work fine.
Some PC's work perfectly, others do not. The SCR viewer always works, but when sending diretly to a...
Crystal 8.5 report with paramters prompts and uses paramters when running directly from Crystal...,But I am
calling the report from inside another application,VB and Progress...The report will run if I supply the param but it will Not prompt for it ....
What do I have to do to enforce the...
VB 6 & SQL Server 7***************************
This is drivin me nuts ! Just trying to pass a string variable to a stored proc and I keep getting runtime errors for the odbc driver.
If I hard code the value in my stored proc and eliminate the reference in the call, it works fine.
Why can I...
Trying to retrieve datetime's via output parms in sql 7 stored proc.The other parms (varchar/int) work fine.
***** VB code snippet *******
Dim objCmd As New ADODB.Command.....
objCmd.Parameters.Append _
objCmd.CreateParameter("admission_date", adSmallDateTime...
We have been running an application that creates text files and runs compiled Crystal Reports OCX reports using the MS ODBC Text driver. This app is initiated by the MS Task Scheduler or AT depending on platform..
99% of the time it works great, but occasionally seemingly random errors occur...
I wrote a report using a date in my select stmt and all was well. When I made that date a parameter in CR and let it generate the sql stmt I get:
SELECT
TIME_BLOCK1."start_date", TIME_BLOCK1."start_tick", TIME_BLOCK1."end_tick"...
I have built a treeview activeX which resides in a frame
with several other activeX objects, (each with its own form). What's the best way of communicating a message (treeview image tag value) to other activeX objects within a common parent frame ?
So that as my user clicks on the treeview...
I have created an Activex data entry application the utilizes tabstrip control to manipulated 12 picturebox objects, each with label and text boxes on them......
I have gotton thru 5 pages and about 250 label/text box objects and I can CREATE NO MORE ?????
ERROR states: "Reached...
dim tmp1, tmp2, tmp3, myVar as string.
dim myNbr as integer
myVar = "some data values"
myNbr = 1
"tmp" & myNbr = myVar
I need to build my variable name and assign its value based on values in other variables as above.
in the example above I want a variable called tmp1 to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.