Amarthuluru's Q&A profile
Windows Forms How to get the publisherr name?
I need to know the publisher name and published product name (not the application product name which is found in assemblyinfo.vb/.cs) when my ClickOnce application is running. Where are the information stored If you are using VB2005 then you may find it under publish tap Right Click project then select properties. Select Publish tab Click options Then you can see (and update) Publish Language, Publisher name, Product name, and so on. Hope this is what you are looking for ...Show All
Visual Basic TimerControl_Interval Property
The following code is a simple elapsed time counter. I want to change the Timer_Control.Interval property during run t ime during a Button_Click event handler. Can this be done I also would like to initialize the counter when the VB program starts. I don't know where to put any initialization code. Public Class Form1 Private MyStartTime As DateTime = Now() Private MyEndTime As DateTime = Now() &nbs ...Show All
Software Development for Windows Vista Vista trial period?
Is there not a trial period for the Vista CTP 5308 I installed it and am immediately asked to activate windows. I just wanted to install it and see what it looked like, etc... S hey guy's i'm looking for a clean install of Vista, can't find it anywhere And i see no where tot subscribe to it anyone have a copy ...Show All
Visual Basic Send Outlook mail from Visual Basic 2005
Hello, Please pardon me, if I posted this question into the wrong thread. My question is this: I am developing a window form application using Visual Basic 2005, and would like any help and guidance so that I can send and an email within the application. We are currently using Outlook and would also like to know if it is possible to read the outlook address as well. Thank you very much Do you just want to send an email or send an email in outlook. ...Show All
Windows Forms png images
cool application. Is it possible to save the images as png images instead of jpg Thanks The code that saves the jpeg image is in the <b>SavePhoto</b> method of the <b>upload\Publish</b> class. This calls <b>JpegQuality.Save(path, image, _quality)</b>, you can replace that call with <b>image.Save(path, Imaging.ImageFormat.Png)</b> to save to the ...Show All
Smart Device Development problem in deployment in emulator
Hi , i am getting an error Current VMID is in use wait for other applications to exit.due to this i am not able to deploy application. please help me Thanks wm_al Hi , Today somehow initially i was able to deploy my application but again the same problem has started with the error this time as Connection to device failed. can anyone please help me out as to how do i solve this proble. thanks ...Show All
.NET Development Configuration data writable by all users - even non admin - how?
Where can you store machine wide configuration data that all users (even non-admin users) can write to All Users seems to allow everyone to read machine wide data but only admins can write to this location. Does Vista address this hole Have you considered storing it in a database like SQL Server 2005 Express edition Allowing non-admin users to change machine wide settings in the filesystem or registry may lead to concurrency and security issues. You can open up the filesystem and registry keys to allow write from anyone by setting the permissions. ...Show All
Windows Forms OnScreen keyboard
I am creating an onscreen keyboard application and having trouble with the focus event. I have a form with 3 textboxes and a keyboard usercontrol that I created. Basically when a textbox has focus and I click a button on my keyboard usercontrol I want to insert the letter in to the textbox. However, when the button is clicked the button get ...Show All
Visual Studio error MSB4018: The "GenerateResource" task failed unexpectedly
I have a Smart Device application that is generating the following errror when I attempt to build. I would appreciate any feedback in how to debug this error, or what might be a typical cause of this problem. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: The "GenerateResource" task failed unexpectedly. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): error MSB4018: System.InvalidOperationException: Collection was modified; enumeration operation may not execute. C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(1616,9): err ...Show All
Visual Studio Tools for Office VSTO over VS pro?
Hello Please tell me the advantage of having vsto when creating solutions that use office as interface or in background or whatever, in general. It seems like you can have the actual office document screen loaded in VSTO but not in VSpro. What other advantages does vsto have Does vsto produce more lines of code automatically so that you dont write as much code by yourself or something is there anything that VS pro can not do that VSTO can that really make a big difference. Im considering which version of vs to get. please help. VS pro gives you access to download and install tools for office. At leas ...Show All
Windows Forms Need DataGridView Read/Write Example ComboBox
VB2005, SQL Server 2000 The MS supplied 101 sample DataGridView ComboBoxColumn example is read only which is kinda dumb since I'm not sure when one would ever need a read only dropdown. Has anyone seen a KISS example of connecting to a SQL Server 2000 table (spmething like the PUBS DB, authors table) using a DataGridView with a combo, say on the State field Need to see something that does not use the DataSource wizard objects. In general: Is it possible to bind to a dataset using the auto generated columns and then change a column type to Combo Or does one have to construct all columns manually if any are other than the a ...Show All
Visual Studio nested subreport
I have a nested subreport. The 2nd level of subreport does not get loaded. I have handled the subreportProcessing event for the 1st level of SubReport. I expected the second level subreport to work on its own, but it seems that the subreportProcessing event has to be handled for the 2nd level subreport too. But I am unable to find a way to subscribe to it.(since the reportviewer just has access to first level of Subreport). Your SubreportProcressing event handler will be called for the 2nd level subreport too. ...Show All
.NET Development System.Runtime.InteropServices.COMException (0x800C0008): The download of the specified resource has failed
I recently developed a .Net 2003 Windows Application that posts xml documents to a URL using XMLHTTP methods (required by vendor). I have not found any reference of XMLHTTP for the Net platform, but did find out that the methods are exposed through the MSXML library, so I added in my project a reference to the Microsoft MSXML 4.0 library using the COM Tab in the add reference panel on my IDE (ended up with a reference to the Interop msxml2 dll) and used the methods. The application runs well on my Visual Studio 2003 IDE, but when I moved the dll's to the server and run the application, it gives me the following exception: "..Sys ...Show All
SQL Server SQL Server 2000 sign-on to 2005
Good morning, I'm wondering if it's possible to connect to SQL Server 2005 from 2000 I'm having no trouble going from 2005 to 2000 but I can't seem to connect the other way. Any help would be apprciated. Thanks, (Orrin77@discussions.microsoft.com) writes: > I am having a similar issue as well. I have an SQL 2000 format database > running on my development machine, which is using sql 2005. I am trying > to connect to it from another dev machine that has 2000 installed. On > the 2000 dev box I was able to register my 2005 dev machine, but as soon > as I try to connect I get the following erro ...Show All
Visual Studio 2008 (Pre-release) Deployment WCF
It’s possible have a services of wcf in one computer and the bussiness layer that wcf use in another computer I think I found an example of doing this: http://windowssdk.msdn.microsoft.com/library/default.asp url=/library/en-us/wcf_samples/html/05e68661-1ddf-4abf-a899-9bb1b8272a5b.asp ...Show All
