Dasher's Q&A profile
Windows Forms Garbage collection -- what is it good for ?
is there anyway to really optimize memory in .Net is there a way to manually deallocate memory otherthan dispose , what are the otherways we can improve performance i heard setting objects to null will improve memory use . even this wont ...Show All
Visual Basic I have problems in my registry app, please help?
Hello, I got this application which was compatiable with Visual Basic 6.0 so i upgraded to Visual Studio (basic) 2005 BETA 2 and then it didnt work. What it does you click a command button and it inserts keys to the registry and adds a Shell Context Menu and 'Upload to GuruImages' will appear when you right click a .png file. Could somebody tell me why this doesnt work, and how would I make it insert these keys into the registry on installati ...Show All
Visual Studio Display All Properties
When debugging a problem I sometimes display property values, i.e: <Message Importance = "low " Text = " SolutionDir: $(SolutionDir) " /> Is there a way to dump all properties Something along the lines of: < Message Importance = " low " Text = " Properties : @(PropertyBag) " /> Hi Scott, There's no way to access all properties at once, not in this version at least. I'm not sure how helpful it will be to you, but ...Show All
SQL Server Package Runs but as soon as it is scheduled in SQL Server it hangs
Hi I'm trying to get a cute FTP script running from a package that connects to a FTPS web site. Regardless of what method I use to execute the script it runs sucessfully in Debug mode, if I import the package into Integration Services from SQL Server Management Studio it runs, however as soon as create a SQL Server job using the stored package it hangs. I have tried an Active X, VB.Net and an Execute Process item and get the same resul ...Show All
Visual Basic Accessing FTP server?
How can i access FTP server using vb.net I want to upload, downlaod, delete, rename files on FTP server and change directories on FTP server as well. thanks ftp://contoso.com/ %2f path this is the answear I was looking for. Thank you very much! ...Show All
Windows Forms software cracking/hacking
the program ive been writing for almost 6 months now is almost complete and i want to sell it, which way would be the best way to do so, and what extra code/security features could i add to stop (or make it harder) for people to& ...Show All
.NET Development single transaction between different methods
I need to run a single transaction on the single database (sql 2005) between several methods (.net 2.0, c#). I made required preparations: cn.Open(); // connection SqlCommand mySqlCommand = cn.CreateCommand(); SqlTransaction mySqlTransaction = cn.BeginTransaction(); mySqlCommand.Transaction = mySqlTransaction; mySqlCommand.Connection = cn; then I tried to pass to each method open connection (cn) and sqlcommand ...Show All
.NET Development how do I add default values to a database table record
I am using vs 2005 and sql 2005. I am using a webform to insert records but I want to automatically add the current time and the user id in addition to the data that the user enters. Is it possible to do it with the detail view control and hidden fields ...Show All
Visual Studio 2008 (Pre-release) InfoPath Consumer: 400 Bad Request problem
I am trying to consume WCF services using InfoPath. However the IIS always returns 400 Bad Request. If I use WebServiceStudio the services goes well. Here are the requests in the wire using IngoPath POST /test/aa.svc HTTP/1.1 SOAPAction: "http://tempuri.org/StringService/GetUpper" Content-Type: text/xml; charset="UTF-8" User-Agent: SOAP Toolkit 3.0 Host: ia-bfcamara:8081 Content-Length: 621 Connection: ...Show All
SQL Server SSIS: Exec SQL Task: Capture return code of stored proc
I am also having some issues with most recent CTP in regards to the ExecuteSQL Task, and parameters. Most of threads I have reviewed deal mainly with parameters being passed into sql/procs, but nothing with return codes from procs. I am just trying to capture the return code from a stored proc, and there are no results sets, and no parameters. pretty simple I would think.... Using OLEDB connection, I utilize SQL: "exec = testin ...Show All
Visual Studio Toggle Event
I have a report where mail items can toggle sub-items to visible. I need to know the name of the sub-item i am toggling to visible (sub-item is a rectangle) to get specific data from the DB for that sub-item. Is there a way to detect the name of the rectangle that has been toggled to visible I am using a WebForm, Local Report and the Toggle event of the Reportviewer Unfortunately, this in ...Show All
Visual C++ Linking problems using Visual Studio.net 2003
I have written a program that needs to use DirectX libraries. I am using Visual C++.net 2003. I have compiled it successfully. When I go to "Debug" on the menu bar, down to "start", it says that these project configurations are out of date and would you like to build them. I click "yes" and it comes up with linking errors: Linking... draw.obj : error LNK2019: unresolved external symbol _D3DXCreateTextureFromFi ...Show All
Game Technologies: DirectX, XNA, XACT, etc. fail of create xact engine
when i type the following code: if(FAILED(XACTCreateEngine(XACT_FLAG_API_AUDITION_MODE,&engine))) mb(L"failed"); it show me a window of "filed" message i kown creation of the engine is failed, but i dont know why any person can answer me, thx a lot What return code are you getting from XACTCreateEngine Are you sure you have a valid install of the February SDK. It's possib ...Show All
Smart Device Development SysFreeString memory leak?
The test program attached results in apparent memory leaks. I believe they are related to SysAllocString/SysFreeString. The memory leaks are "gone" when the program exits, but they are a problem in a constantly running application. I have tested the program on the WM5 emulator and on a WM5 Pocket PC device. // Test.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "Test.h&qu ...Show All
SQL Server Timeout; one more thread about it and rsabort
Hi, I have a report that can yield a little more data at times than what the out of the box settings can handle. It is OK since these cases are limited. If it must take 45 minutes or so once on a while, then just do it. Most of the users queries runs very fast, 1-3 minutes. The point is that if it takes 45 min once a week, at night, to provide this data to a few guys, I do not have a problem with that, just give them this data, they say ...Show All
