passing file to an exe -
Hi there
I have a file called my.file.
This si then assiciated with my exe file so that wehn people double click my file, it ill run my.exe, .
But, my question is, how do i recieve the file in my exe.
what function is executed?
i presume that the file gets passed into the program as an argument.
But how do i use it.
A turorial or a very basic demo.exe would be great
using vb6
many thanks
Jamie
passing variable arrays -
I've searched this a few different places and found no answer, leading me to believe it has to be something similar I'm missing; How do I pass a variable array?
What I want to do is declare an array in one sub, send it to a function that reads in data from a file, redims the array t
Trouble passing arrays of double to Compaq Visual Fortran -
Hello,
A Visual Fortran friend and I (VB6) are trying to collaborate on a mixed language project and we have hit a wall. He has written a dll to which I am calling, and passing 4 arguments, they are as follows:
arr1(0 to 2) as double
lng1
arr2(0 to 2, 31) as double
lng2
For
passing file to an exe -
Hi there
I have a file called my.file.
This si then assiciated with my exe file so that wehn people double click my file, it ill run my.exe, .
But, my question is, how do i recieve the file in my exe.
what function is executed?
i presume that the file gets passed into th
[VS 2005] Passing a command to the command line -
Hey guys, I just started with VB, and I'm wondering if I can pass along this command:
copy /b file.ext + file.ext file.ext
to the command line. I've tried Shell() and Process.Start, but nothing seems to work . Is there a function in VB that's like system() in C++?
And, if poss
passing parameters -
Whats passing by reference, and passing by value,
how is it different, and whats better to use.
Passing integer arrays to a function -
I've made a dll in c++ to a few tasks, and I have a VB app that uses it, the problem is.. When I pass the integer array to the function, inside the function the int values are always the max int value, or some weird number.
So I tried passing them all as their own param in the funct
The difference of passing data -
Just wondering what's the difference of usage of passing data by parameters with passing data through class properties ??
Thanks...
delete file by filename without ext -
Hi
How do I delete any file in vb.net by passing just the file name, not with extension.
System.IO.File.Delete(path) .....requires you to have full file name (with ext). e.g. path="C:\temp\test.txt".
Is it possible to delete a file by passing..path="C:\temp\test
Passing Parameters from JSP Page -
Hi.Guys.
Im generating report from sql server in a jsp page using odbc.
when passing parameters to the report, i am getting Logon Screen.
It is not allowing even passing right log on info also.
how to bypass the log on screen.
byRef VS byVal. Difference in speed Resources use Etc -
Ok, so I'm parsing an Excel file with say, a few hundred rows. For each row I have to extract certain data and feed it into an array. There are several functions and I'm now passing all values as byVal:
ex: newvalue=some_sub(data1, oldvalue)
Will passing a variable as a referenc
Passing ByRef... Passing ByVal -
Hi guys, I was wondering what different does make passing an object ByRef instead of ByVal. I mean if I set a var to a value type (integer, long, etc) and then passing it ByRef instead of ByVal in a function does make a difference. But when you pass an object, I don't see any differen
[2005] passing a large parameter or saving & opening as a text file -
Hello,
I have a selection query i.e. "SELECT * FROM Jobs WHERE customer IN ('','','','').......
That i have to pass as a parameter to the constructor of another form to print a report.
There could be over a hundred customers that could be contained in this query.
I am
Passing a file name to a program -
This is what I want but I'm not sure if it's possible
My encryption program will encrypt a file and add .enc to the file.
e.g. accounts.xls.enc
When the user clicks the file I want it to load my encryption program. This can be done with file types so that bits fine.
All I ne
Passing by value vs passing by reference -
I am having difficulty understanding the difference between passing by value and passing by reference in VB code. I built the following procedure to reverse text and now I need to create a funtion called ReverseText (sOriginalText). Could someone provide me some help in making the fu
Pls Help Me ,as I Am Trying To Move A File And Copy A File Using Fso -
Hello,
I am trying to move a file from one directory to other using FSO but my problem is that i want to move a file to that location where the user want to move
Dim fso As New FileSystemObject
fso.MoveFile "pat3", "part"
These "pat3" variable
passing variables to subs -
Is there anyway to make a dll that operates on classes of an app without specifically passing the classes back and forth as arguments to the call?
How can this be done?
Thanks for any help.
Passing Parameters to a compiled program -
I am working with multiple VB apps and I need to know how I would go about passing parameters between them (i .e displaying only a certain form from a particular app etc. )
Passing a recorset to an ActiveX Control -
I know the Let property for passing a variable to a field, but how can I pass a recordset to a control?
Winsock Spy! -
Hi guys,
Anybody knows a way to get the data passing through a TCP/IP connection, maybe by knowing the port we can know the data passing throught it?
how can i open excel file passing a password parameter through vba -
how can i open excel file passing a password parameter through vba
If any one know Please tell me----------
[2005] Problem with counters. Need a global counter code -
Here is my code:
Public Class Form1
Dim Passing As Integer = 0
Dim Sum As Integer = 0
Private Sub btna_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btna.Click
Static A As Integer = 0
A = A + 1
Me.lblacounter.Text =
passing values by url -
I need to pass 2 values via url to an asp page on a secured site. I can pass 1 value ok, but I am having trouble passing 2 values. Have tried various samples and examples from web, what is the correct syntax for passing 2 values. I am using redirect in a VBscript "if then" st
[3.0/LINQ] confused about passing arrays (byval or byref) -
I was working on an example given from a book and I totally got confused.
Please correct me.
I was under the impression that in c# the default way of passing arrays (like any other element) is "byval".
If we don't mention any thing when passing an array to a method,
VB passing information to .BAT file -
Anyone have any suggestions on how I can get a VB program that would ask the user a Yes/No question would send the response back to a batch file. Based on the answer received the batch file can then continue or cease processing.
THANKS!!
Problem with passing parameters -
Hi,
I am having some problems with passing parameters.
I have a stored procedure which accepts a no. of arguments, some of which can be blank. Now when I try to pass blank arguments using parameter I am getting errors. Currently I am using some dummy values in these parameters so
passing an address to a function -
Quick question that should be easy for the experienced. I am trying to pass a variable's adderss as a parameter of a function. How do I write that in VB code. In C++ I would just put niftyfunciton(&variable) but the & in VB is for concatination. Whats the notation for pass
Passing variables - Best Practice -
This is actually a multi question. It goes for both VB.NET (winforms) and ASP.NET (webforms). I've seen many posts of how to pass variables between forms. This may be more of an opinion question, but I'm just curious... which is the best practice for passing variables between .net w
Message Passing -
i want ideal about message passing in asp.net and the sample coding
Really STUPID functions... -
Heres one thats bin confusing me for ages and I really dont know whats up:
I'm trying to write a .x file using the RegisterTemplates function, you'll find it in the DX8 SDK. Its really not the most complicated fujction in the world, and I've got it working fine in C++, but whenever
Crystal 20553 error when passing parameter -
I am passing 10 parameters to a stored procedure to run a crystal report. I can plug the parameters into crystal or run the SP in query analyzer and it works fine.
However...
If I try to run the report from VB.. It blows up saying
"Error in file : Report.rpt, Invalid par
Passing Stored Procedures to Crystal Reports -
I need some help passing an ADO recordset to a Crystal Report.
I would eventually just like to send a stored procedure. If someone could show me an example of this, it would be greatly appreciated
[02/03] Passing Data Between Currently Opened Forms -
hi all,
i've searched the forums and found topics regarding passing data from parent to child. most cases, i see parent to child but i haven't seen anything yet about child to parent or child to another child. also, my main concern which is basically passing data between forms (chi
passing form variables :) -
hi,
i have a hyperlink, on clicking it i want to send form variables to another page.how can i do it without appending them to address to which i am passing to?
Thanks and Regards
vivek.s
Passing parametres fr VB to Crystal 8 -
Hi all
I am experiencing problems in passing parameters from my vb app
to Crystal Reports. can somebody please give me advise.
Global variables/perammiter passing -
I need to pass the selection in a textbox on one form to an SQL statement that changes the datasource of a data control in another. I've got the SQL working, but was wondering what the best way to passing the selection to the next form would be. Any ideas? (The simpler the better!)
TypeDef and Passing Objects -
Hey sup all
I was wondering, what is the point of typedef. I read about it, but I dont understand the point of it.
What so useful about it?
And the other thing was, passing objects as parameters.
...how should u pass objects as parameters, call by value, reference, or constant...
Calling a C Program -
is it possable to open a file in VB with the Common Dialog Box
then call a C progam, passing the file name with dlgCommon.filename as a command line argument?
it this idea that I had
I have been looking into this for a while but can't find too much info on this.
Passing Parameters to executable -
Are there any restriction when passing parameters to executables? ie. " ' " or any other specail character.
I know that with vb.net there is no limit, but I'm not sure if it is the same with vb6?????
Thanks
Download file from a URL. (SOLVED) -
Hi,
How do I download binary files by just passing the URL of the file to a function ?
It is very easy in Java. I have never done it in VB. Can anyone help me out ?
Thankx.
Passing disconnected recordsets between application tiers...any personal opinions -
Over the past few days I have noticed, due to one thread in particular, that some programmers are split between the concept of passing recordsets between tiers...
I was just wondering what the general opinion was...?
Woka