Adhisuma's Q&A profile
.NET Development Application Settings Location
I have been experimenting with the My.Settings feature in VS 2005. I like the way that User-scoped settings are easily stored in a sub-folder under the user: <c:\Documents and Settings>\<username>\[Local Settings\]Application Data\<companyname>\<appdomainname>_<eid>_<hash>\<verison> However, I was wondering exactly where the Application-scoped settings are stored. I was planning on using an Application setting to store my connection string to my SQL database. A requirement by my IT guy is that this connection string needs to be be editable by him, as we might have to change it ...Show All
SQL Server Using Reporting Services 2005 on SQL Server 2000?
Is it possible to use Reporting Services 2005 on licenced SQL Server 2000 without a licence of SQL Server 2005 Thanks for your answer, Andreas I am not sure about the licence but RS 2005 does support connect to SQL 2000. If they are on seperate machines you will need two licences. I don't know the answer if they are both on the same machine. -Daniel ...Show All
Windows Forms Object animation in VB?
I want to implement a couple of animations in my VB applications (simple animation,movement forwards or left-hand...). Since it´s a new topic for me Can anyone tell me something about it How can I start where can I more information find .... Thanks, ÁLvaro Hi Alvaro! This only applies if you're using vb.net. Chapter 16 of Microsoft V ...Show All
SQL Server Enable User Instances in SQL Server
I'm just starting out and trying to connect to my first database using the following string: Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\RFPdb.mdf;Integrated Security=True;Connect Timeout=30;User Instance=True I get the following error during debug: " Generating user instances in SQL Server is disabled. Use sp_configure 'user instances enabled' to generate user instances ." I've done this on every database - Master, Model, Tempdb, etc, and my database. Still get the error. I may not be enabling it correctly. Any help would be appreciated. The documentation suggests that I use user instances so th ...Show All
Visual C++ Optimizing Link Times
I'm trying to merge our multi-dll project into a single EXE to get more advantage out of LTCG. The problem I'm having is that making this change has taken link times from 20-30 seconds up to 2:20, without enabling LTCG (in a debug build). I have incremental linking and use library dependancy inputs enabled, and with the uber-verbose output, it appears to be functioning. My final exe size in debug is 38 MB, and my .ilk file is 127 MB. Are there any optimizations I'm missing that could get my link times back to a reasonable speed, or is this about what I should expect for this size project Thanks, Chris With ...Show All
.NET Development HttpListener and bad certificate error
Hi! I have a question about HttpListener and ssl. My application sends a soap request to a remote server. Server replies within short period of time to my IP:443. I use HttpListener to listen to port 443. I also added a certificate via httpcfg.exe as specified here: http://blogs.msdn.com/adarshk/archive/2004/11/10/255467.aspx My problem is that I never get any response from the server. Stunnel log shows that there was an error during ssl handshake: 2006.02.01 09:23:06 LOG5[5784:7500]: b2b connected from 111.111.111.111:60099 2006.02.01 09:23:06 LOG7[5784:7500]: SSL state (accept): before/accept initialization 2006.02.01 09:23:06 LOG7[57 ...Show All
Visual Basic Need Help In crystalreports
I am using crystalreportviewer to show the crystal report and i am having one button at the form and for the click event of the form i am exporting this report as a pdf file. While exporting it is throwing a exception (Report.Export()) "Error in File C:\DOCUME~1\ADMINI~1.DEV\LOCALS~1\Temp\temp_9ee9495f-2895-4065-a9cd-18800698ea7c.rpt: Error in formula ...." but in the crystal reportviewer i m getting the report clearly. Please send me a good solution... Thankyou Sabari. does the crystal report viewr not have its own pdf export button Seems to work fine for me. Can you open the rpt up in Crystal ...Show All
Visual Basic Having trouble getting a correct value of textbox3
Hi Im using VIsualbasic2005 Express (its .net of course ) Dim intText1 As Double Dim intText2 As Integer Dim intText3 As Double intText1 = Val(Frm3.TextBox1. Text) 'Here is says Conversion from string "" to type 'Long' is not valid. intText2 = Val(Frm3.TextBox2. Text) intText3 = CDbl(Val(Frm3.TextBox2. Text) * Val(Frm3.TextBox1. Text)) Frm3.TextBox3.Text = intText3 Textbox3 is still 0 When textbox1 = 0.04 and textbox2 = 456 the problem is the Third teextbox3 is just givine me 3 and not the value of Textbox1(0.04) * Textbox2(400) Yep i have done that it works no ...Show All
SQL Server How to execute SSIS package inside of Visual Studio?
How to execute SSIS package inside of Visual Studio I have opened the file, but do not see any way to execute it. Please advise. Thanks There are a number of ways. The safest way is to right-click on the package in the solution explorer and hit "Execute Package". -Jamie ...Show All
Visual Studio Express Editions Sifting through array for matches
Hello all, Sorry for such a beginner question, but I can't seem to work through this. I've thought about it for a while, and I just can't seem to figure out a solution. Sorry in advance: I've got an array with a bunch of names in it, and I want to sift through it to make sure that none of the names are the same, and if they are, then I want to take out one of the matches from that pair. So for instance, if i've got an array that contains the names: Robert Rob Jacob Jack Jacob I want to be able to go through and find that second jacob to take it out, so that the array only contains the names Robert Rob ...Show All
Visual Basic Visual Basic .net Tutorial
Hi All, I'm new to this forum and VB programming. I just found a really good VB tutorial online. It is http://www.functionx.com/vbnet/ If I am breaking any rules by posting this here, I apologize and feel free to remove the thread. rap213 This appears to be targeting Visual Basic 2003. For Visual Basic 2005, check out the Guided Tour in the documentation: http://msdn2.microsoft.com/en-us/library/90h82b3x(en-US,VS.80).aspx Steve Hoag ...Show All
Visual Studio Team System No reports
Hi there, I have created 2 new team projects yesterday in TFS( deleted all the existing one) and opened few bugs/work Items, which are in diffirent states now (active/resolved). When I go to Reports and try to see the reports for them using BugList, BugRates etc. I do not see anything showing up at all. The page is just blank with no error for both through client as well as through IE. When i go to Event Log only error i see is below http://test01:8080/Warehouse/WarehouseController.asmx System.ArgumentException: Delegate to an instance method cannot have null 'this'. at Microsoft.VisualStudio.Bis.Server.Sche ...Show All
Visual Basic Terminate Process while running
Does anyone have any idea on how to terminate a running process I have a sub method doing list of things from tree control. But I would like to have a button push and stop the process. Is there any other way to do it Please advise ... Ide use Application.DoEvents in the sub you want to cancel processing for. If not,then you probably need to look at Threading classes. In summary, you create a thread, tie the sub to the thread, call the .start - then call .stop to cancel processing. Otherwise, if its outside process (not internal to your program): its usually System.Diagnostics.Process.Kill ...Show All
Visual C++ Missing mfc42d.lib - 32 bit version
I'm trying to compile a VisStudio 6 C++ program under the express version and get this error: mfc42d.lib(MFC42D.DLL) : fatal error LNK1112: module machine type 'IA64' conflicts with target machine type 'X86' I've installed the Win2003 server SDK SP1 per instructions found somewhere and apparently the library isn't part of it. I've checked the 2 versions of the library that the SDK installed and both are 64 bit versions. Where can I get the missing library (and others that will show up missing) Thanks Zoltan All it means is you have to purchase a higher version than Express (e. ...Show All
.NET Development Delete a file from an FTP server
I have the code to download and upload a file to and from a FTP server fine. What I am not sure of is how to delete a file from an FTP server. I figured I could try to download a file, and if it downloads successfully, then to delete it because the download method would have all of the information needed of what the filename is and where it is located etc... below is the code for my download method in case it matters: public void Download( string downloadUrl, string user, string pswd, string downloadLocation, Boolean multfiles) { if (multfiles == false ) { //write to email transfer number transfer++; errors = err ...Show All
