am05's Q&A profile
Visual C++ Need help with a funtion to take a name entered by a user
I want this function to take the name of the user and then display it. However it will only display a number when I run the program. I am new to C++ and programming for that matter so any help would be appreciated. char GetNameOfInvestor( char name) { numberOfYourFunctionsCalled++; Console::Write(S"Please enter your name: "); String __gc * input = Console::ReadLine(); return name; Christain, Thanks for pointing me towards cod ...Show All
Visual C++ Err: Attempted to read or write protected memory - only in VS2005, works fine in VS2003
Hi all I am wrapping an unmanaged c++ win32 dll functions ( export naming decration is c++ ) into a managed c++ dll using IJW. While calling the managed wrapper from C#, it crashes at line where I call the unmanaged function and saying the error "Attempted to read or write protected memory. This is often an indication that other memory is corrupt." If i compile the same managed c++ wrapper code in VS2003 (framework 1.1) and exe ...Show All
Visual Studio Express Editions visual basic express or visual studio professiona? which one?
I'm a developer who has downloaded vb express and sql server express for my home computer. I wanted to know if I should break down and buy visual studio 2005 professional or should I just stick with the express version of vb. My funds are very limited and my skills as a windows developer are still emerging. I'm not yet a great windows developer. I will use vb/sql express for personal projects and learning and possible small business applicat ...Show All
.NET Development This mail server requires authentication !!!
I have this code to send email MailMessage Mail = new MailMessage (); Mail.From = new MailAddress (" ss@ss.com " ); Mail.To.Add(" aa@aa.com " ); Mail.Subject = this .txtMessageTitle.Text.Trim(); Mail.Body = this .txtMessageBody.Text.Trim(); SmtpClient smtpclient = new SmtpClient ("mail.ServerName.com"); smtpclient.Credentials = new NetworkCredential (" ss@ss.com ":, "xxxxxxxx" ...Show All
SQL Server Flat File Destination Filename with Date ?
Is there a way to append a date at the end of the filename for whenever a Flat File Destination is run So far, I only see the ability to browse to a static filename. either I'm missing something or this link doesn't work: ms-help://MS.VSCC.v80/MS.VSIPCC.v80/MS.SQLSVR.v9.en/extran9/html/a4bfc925-3ef6-431e-b1dd-7e0023d3a92d.htm ...Show All
.NET Development Sending mail to “Group Membership Account” ( exchange distribution list )
I am using CDO.Message and exchange server to send email using ASP application. It works fine when email address is user’s mail id but when I use “Group Membership Account” like “My Administrator Group” it fails and gives error that invalid email address. Please help me and tell me how to send mail to “Group Account” using ASP application. Thanks in advance Hi! Thank ...Show All
Windows Forms Running my application as a limited user brings up the installer
I have a deployment project that is working pretty well, but for some reason, whenever I run the application for the first time as a limited user, it brings up the application installer, a progress bar goes across the screen, and then the program works just fine. I'm not sure what it is doing at this point, so I can't tell how to fix it. Is there any way to get a log of what it is doing, or does anyone know what might be causing this ...Show All
Visual Studio Task dll is locked after build
I get the "CS0016: Could not write to output file" when building my solution the second time. I'm running VS 2005 Release version. The error occours in a project where I build and call a Task prior to building the actual project. The dll containing the Task seems to be locked by VS from the build before. The error can be avoided by reopening VS. Also tried to follow the solution suggested by http://support.microsoft.com/default.as ...Show All
Windows Forms WebBrowser and file:// URLs?
Hi folks, Is there some reason why file:// URLs don't work in an embedded WebBrowser If I make an HTML file with this link in it: <a href=" Test file:///D:/Profiles/mabster/Documents/nocover.png">Test</a > ... then launch that HTML file in Internet Explorer and click the link, the file pops up just fine. However, in the WebBrowser control, if I load that HTML file, the link doesn't work. Heck, the "Navigating" event isn't even fired ...Show All
.NET Development IXmlSerializable.ReadXml Question
Hi, I have a serialized object which looks like: <List> <ItemName="a"> <ItemName="b"> <Node Name="c" /> </Item> </Item> </List> In the ReadXml method I need just the strings "a", "b", "c". (It may even contain deeper hierarchy which ends always with <Node> element). Any help how does my ReadXml method ...Show All
.NET Development How to make my VB.NET application as a software???
Hai, How can i make my VB.NET application as a software i have downloaded a 22.4MB( ) .net framework and installed it in a system.-Then i loaded my vb.net application in it-the application can be opened but i can't able to run it. I think i need to do something to make my project as a software. plz tell me how to do it. Is there any other place in this forum which is more suitable for this post Thank You! ...Show All
SQL Server Gettint error "product level is insufficient" - did full re-install of SQL 2005 Standard Edition
Installed SQL Server 2005 Workgroup Edition on a new server for testing. Installed SQL Server 2005 Management Studio on local PC. Created a database with a single table. Trying to run SSIS and export the database to a flat file. Get the error 0xc007470fe: Data Flow Task: The product level is insufficient for component "Destination - dbexport_txt [25]" I then installed SQL Server 2005 Standard Edition on the server as an upgrade of the existing ...Show All
Windows Forms How can i make a DataGridViewCell to blink ?
hello, how can i make a DataGridViewCell to blink, or do a color fade-out would it be time-consuming a lot thank you It wouldn't be too bad. You'll want to add a timer to the form that either a) cycle's the cell style's back color. You can even calculate the color fading for the backcolor. Alternatively, b) you can call InvalidateCell in the timer and handle the CellPainting event where you cycle through pain ...Show All
Windows Forms Language Problem
Hello I’m a bit of a newbie and I've got a small question: I would like to know if I can change the language of my setup file I've already changed all the text to Dutch but I can't figure out how to change the word's in the form that say in with part of the setup I am like Welcome etc. Best regards, Erik van Beek Sorry for taking so long to get back to you. Try this: 1. In Solution Explorer , right-click your S ...Show All
Smart Device Development PocketPC/Smart Client Deployment with ClickOnce
I've developed a PocketPC Webservice solution with Vs2005, and was assuming i could Publish/Deploy the solution just as i have done with a similar WinForms 2.0 application that uses the same WebServices. There is no option to publish in the Pocket PC project though. And none of the build directories include any manifest/setup files. Am i misunderstanding the concept of Pocket PC deployment in Visual Studio 2005 I assumed i would be able in ...Show All
