Hi,
I have a Web project that I want to simply upload a file from a client and then display the contents of the file on the browser to the client. I have got the upload part working but am not sure what is the best way to display the data. I tried using labels and textboxes but they do not...
Hi,
I am a complete asp.net newbie so apologies if I get terminology or otherwise incorrect.
I am trying to use the asp:FileUpLoad control to create a webpage that simply uploads a file to my server.
This works fine when I simply create a standlone aspx file and place it in my IIS webroot...
Hi,
I am trying to use the <exec> task to run a perl script on windows. I need to source the environment using a .bat file first so I am running the two commands in the same shell.
The code I am trying to use is the following:
<exec executable="cmd" dir="${DMTA}" failonerror="false">
<arg...
Hi,
I am a c++ programmer who has to debug some VB code as part of a certification I am doing, I understand and have written basic VB code but am a bit confused as to why the code I am trying to build wont work. This code definitely worked before so I am wondering is there any problem with the...
Hi,
I am importing 2 modules OrbixTest.pm (resides in /lib/perl) and NamesTest.pm (resides in /Names/lib/perl) using the line:
#!/usr/bin/perl -I/lib/perl -I/Names/lib/perl
I have discovered that both modules contain a package called TestRun and a function called new in the package that I need...
Hi,
I am trying to read in a file using the angle operator and then use regular expressions to look for the phrase [PASSED]. I read in the file as one big chunk setting $/ to UNDEF. My regular expression although valid was not working when I ran my perl program. When I tried getting the file...
Hi,
I have a perl program (report.pl) which when run simply collates a bunch of information from a log file. This program runs fine when run from the command line (I am running it on different unix systems). My problem is that when I try to run this from inside a different perl program...
Hi,
When I am using the VC++ 6.0 debugger to look at certain objects how do i get print outs of the returned values from applying any of the objects member functions to that object. I have tried simply typing in the function call into the watch window, e.g. object->function() , but this doesnt...
Hi,
Is this possible what I am trying to do. I have a file which my app reads from at initialisation to find the paths for certain directories. I have copied it below. Is the easiest way to make sure that the app can always find this file to read, so no matter where the app is installed the...
Hi,
Has anyone any ideas on how I can solve a problem I am working on. In my application users upload files to a directory and these files are then processed by the app. I am working on a way that my application will know that a new file has been placed in the directory and can then process it...
Hi,
When accessing a DB using ADO, whats the difference between using the AODB prefix and not using it, for example setting a variable as "Dim rs as Recordset" and "Dim rs as ADODB.Recordset" ?
Thanks,
John
Hi,
I am taking values from a database and using them to populate three textboxes using the code below; Basically SettingID is numerical value and settingValue contains a filepath string. SO in the below code when a form loads i want the 3 file path strings to be taken from the directory and...
Hi
I am trying to do a string compare on variables from 2 arrays:
result = StrComp(colArray(z), CStr(the_array(0)(y)))
the 1st colArray is declared as a string array and contains 3 fixed strings whose position I am trying to find in the 2nd array which is declared as a variant array and so I...
Hi,
I have written some code that generates a buffer overflow on the stack in an application I use. Basically I input a large amount of data into a buffer which uses the flawed strcpy function. This is course causes the application to crash, what I am wondering is what are actually causing the...
Hi I was wondering would someone have the answers to these questions or/and know where I could find a decent resource that would explain the area properly.
When i dynamically create an object of a certain class, memory is allocated for it on the heap, that bit I know, what I am trying to find...
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.