Hi,
I am new to working on threading. I need to implement multithreading for calling four functions (each functions are having parameters) in different threads so that i can improve the performance of the software. Can anybody help me with sample code for implementing this?
Thanks,
Anish.
User Profile
Collapse
-
Implementing multithreading with functions having parameters
-
E_FAIL(0x80004005) error with Excel import
I am trying to do Excel Import with Oledb. It is working fine in my local machine. But when i upload it to live server, getting the below given error:
E_FAIL(0x800040 05)
Any help will be appreciated. I have attached my code below,
_______________ _______________ _______________ ___________
OleDbConnection ConExcl = new OleDbConnection ();
string sConExcl = string.Empty;
... -
error while Excel file importing in .NET
Hi All,
I am getting the below given error while running my application in live server. In my local machine, its working fine. Please help me as it is very urgent for me.
Exception from HRESULT: 0x800A03EC
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
... -
trouble in reading CSV files and putting it in DataTable
Hi,
I have an issue with reading CSV files.
I am to reading CSV file and putting it in a Datatable in C#. I am using a regular expression to read the values. Below is the code. Now, it reads CSV file without any issues only if all the fields are not null. If any field is blank, it moves the values to the left and displays the value under invalid column.
Example is shown below:
A part of... -
Where is Code Analysis Tab in VS2005
Hi,
Issue: Not able to see the Code Analysis tab in Visual Studio2005?
I have a .net windows appliaction project and currently fixing the FxCop shown issues. Currentlly FxCop is showing the following error in one dll.
"A namespace should generally have more than five types". I went its Rule Support and MSDN says,I can disable if I follow below steps.
1) In Solution Explorer,... -
Thanks!
I need the form to capture keyboard events all the time.... -
-
Hi,
There are 26 forms in the whole project. I want to enable keyboard events only for one form.
Let me know, if you need any further information.
Thanks!...Leave a comment:
-
=============== =============== =============== ===
Hi,
Thanks for the reply.
However, I am still having some issues with this Key Down event.
My project has a Main form, in that there is are 3 frames, a tab control, few textboxes, buttons, a picture box and a third party image control (Pegasus Image Control).
Now, the issue is key down event is fired only if I click (using mouse) on...Leave a comment:
-
Detect arrow keys at form level
Hi,
I have a visual basic application which needs to detect keyboard events. I want to it to detect all the arrow keys (Left, Right, Up, Down) and these should be detected at form level.
I have enabled Key Preview at form level. But not able to figure out how do I detect these keys once the form is loaded?
Thanks! -
unpack Acrobat 8.0 PDF package
Any idea on how to retrieve details about PDF files which are combined inside one PDF package? Actually I have to consider each of the PDF files present inside the PDF package separately and need to print each PDFs through VB 6.0 code. Is there any way to unpack those PDFs inside the PDF package or any idea on how to get access to each of them through coding? Please help.. -
Hi again,
I got the following error when i put a break point while running the application in another machine.
*Entering break mode failed for the following reason: Source file 'C:\Documents and Settings\Admini strator\Desktop \Coding app\Coding Tools\SharedCom ponents\UiThrea dCaller\UiThrea dCaller.cs' does not belong to the project being debugged.
Usually, this condition occurs when the project was not rebuilt...Leave a comment:
-
Hi,
I found another issue. I copied the whole application (Not the setup file) to another machine and run the application from there. The application complies without any error but when I run that, the application window opens and closes immediately.
This happens only other machines, in my machine it works fine.
Also, when I add a setup project to my application (Add—>New Project), near the Setup...Leave a comment:
-
Thanks for you reply.
I checked, .net framework is installed in that machine. Intially I created the setup file a month back, and it was working fine in that machine. Yesteraday, i did some changes in source code and re-created the setup file. As I said earlier this setup file deployment works in my machine but doesnt work in other machine(deploym ent goes without any error, but application window closes immediately when I open). ...Leave a comment:
-
Deployment doesn't works in other machine
Hi,
I am having an issue with the deployment. I created msi(vb.net project) setup file using .net setup project. The application works fine if I deploy it in my machine (where I created the setup file).
However, I tried to deploy the project in another machine. The installation goes fine and I didn’t got any errors while installing. But, when I open the application, the application window open and closes immediately.... -
Change the default icon in the setup wizard
Hi,
I have created a setup file(vb.net project) using .net Setup and Deployment Wizard. Now, I am trying to change the default icon present in the .net setup wizard(top right corner). I tried in different ways, but no luck.
Can any one guide me how do I change the default icon?
Thanks in advance.
Ravi -
multi image printing using response.binarywrite
Hi,
I am trying to print multiple label images in case of ups multi label implementaion. The response i get in XML schema and from that i parsedout the label images and stored in an array and from that array i am trying to print the labels in to Response. So many images are there and i am getting only one image the rest are getting overwritten. Because of this i am not able to release the product. i searched a lot in the net but i... -
Problem with dispalying multiple label images using response.binarywrite()
Hi,
I am trying to dispaly multiple label images in to a browser using response.binary write(). But the images are getting over written.I am attaching the code with this, Please help me out to solve this problem.
protected void Page_Load(objec t sender, EventArgs e)
{
int count = Convert.ToInt32 (Session["PkgCount"]);
for (int i = 0; i {
Response.ClearC ontent();
Response.Conten tType...
No activity results to display
Show More
Leave a comment: