Corey Bornmann's Q&A profile
Windows Forms Problem with connection string
Hello, I am an experienced Excel and Access VBA developer and I am developing my first windows app in VS2005 linking to SQL Server. The application is standalone with the SQL Server running on the same machine. I have used the Project Properties to define an application setting DatabaseConnectionString of type (ConnectionString), scope Application and the value is defined using the ... that launches the Connection Properties Dialog. I complete the dialog using appropriate values (server name, Windows authentication, database name) and click the 'Test Connection' button. All appears OK. The connection string returned is: "Data source=MyExtraLaptop;Initial Catalog=MyNewDatabase;Integrated Security=True" Th ...Show All
Visual Basic VB.Net & ClickOnce --- No changes to deployment???
I am using VB.Net Express 2005. I am NOT using FrontPage extensions to send the published application to the IIS server. Rather, I "publish" to my local drive (c:\publish\) and then upload to the IIS server via FTP. However, when I Build and Publish, and execute the application either on my local drive, or on the server, none of my changes take effect. It's like it is "caching" the old code. None of the changes I make are recognized in the Published Build. ARGH... I need help! Did you increment the published version number This is what it goes by to determine if a new version of the app needs to be deployed. If it sees the same version number, the client w ...Show All
Windows Live Developer Forums Mile Markers on Custom Routes
I am creating a site where a user can draw their own route (using polylines). Is there a way to display mile markers on this route Best, Vishal you'll have to customize that yourself. From my understanding, you can't do that in VE, letalone Mappoint doesn't have mile marker functionality. What you could do is put pushpins along your route signifying mile markers. Just an idea. ...Show All
Visual Studio VS .Net Crystal Reports and Excel Export
Hi, I'm a CR novice and I was wondering if it's possible to create a Crystal Report in VS .Net 2003 that allows me to embed code in the .rpt file that would create a file export and ask the user to save to an Excel file. I'd like to know if this can be done and what if any are some sample codes. Thanks. Novice Hi Shei, Sorry I was away and not able to get back to you sooner. I'm using CR in VB .net 2003. I created a report and in the report's stored procedure I have: alter procedure dbo.rptname @FromDate datetime=null @ToDate datetime=null /* ( @parameter1 datatype = default value, @parameter2 datatype OUTPUT ) */ AS if @FromDate is not null and @To ...Show All
Visual Studio Express Editions Equivalent for appdomain.unhandledexception for a control
I have a .Net control (activex) which i am using from a VC++ client. things work fine except when there is an exception in the .net contol which is not caught. When it happens the whole vc++ app crashes. is there any way i can at least catch the unhandled exceptions for my control log it before crashing the application. I am looking at something like the appdomain.unhandledexceptionhandler (this works fine for my normal .exe apps but since the control does not have the appdomain i cannot use it for the control) The app that uses the control would have to implement the exception handler. Not desireable, I'm sure. You can possible catch these unhandled exceptions by implementing the WndProc method ...Show All
SQL Server SQLCLR 32-bit Vs 64-bit
Is anyone here aware of any explicit/definite differences between running sqlclr on 32-bit and 64-bit. Note: These must be documented, well defined differences. If you're looking for documented differences, perhaps you should check the documentation -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 -- <Derek Comingore - RSC@discussions.microsoft.com > wrote in message news:51202de3-4fee-4bee-9af1-1e73ad447093@discussions.microsoft.com ... Is anyone here aware of any explicit/definite differences between running sqlclr on 32-bit and 64-bit. Note: These must be doc ...Show All
Visual C++ msvcp71d.dll is not present in Visual Studio 2003 SP1
msvcp71d.dll is supposed to be the STL debug version which you would get when you build multithreaded, dll, debug. The non-debug version, msvcp71.dll was updated in SP1, but the debug version was not. That doesn't seem correct to me Thanks, Bruce Sorry, this was a mistake. We didn't see the old version, we just didn't see any version at all. But it turns out it was because we are taking the files from an installation and building our own file tree and we missed this file. Bruce ...Show All
Windows Live Developer Forums Messenger Live Team Please Help! Error - "Message could not be delivered"
I need to submit a ticket to the Microsoft Messenger Team. For some reason the majority of the bots out there are unable to connect to the Microsoft Network. The following message is displayed to the user: The following message could not be delivered to all recipients: It seems that on rare occasions people are able to get through. This problem started surfacing around the second week in November. Any help in resolving this problem is greatly appreciated. Thanks in advance. Isaac Encouragebot v1.0 EncourageBot@hotmail.com I still have issues getting to your bot and encouragebot. I tried last night and I get the cannot deliver message. DFWEBBOT ...Show All
Visual Studio Team System What is the TFS equivalent to check out with "Don't get local copy" under VSS?
To delay-check-in changes on a local file that has not been properly checked out under VSS, I can use a check-out with "don't get local copy" and then a check in. This is an important feature for us since some tools, e. g. FrontPage do not recognize the "read-only" flag. FrontPage just removes it without asking. To be sure that everything is checked-in properly afterwards, there must be a way to detect local changes on files that were not checked out and to "delay check-in" them. If I edit a local file under TFS source control with an external tool (remove read-only flag, edit with editor and save), then the Source Control Explorer doesn't detect this at all! The pending changes view doesn't list the fil ...Show All
SQL Server Regarding Collation for mirroring & Error 1418
Can I know is it possible that if the database servers' collation in both principal and mirror server might unable to get the mirroring Because one of database collation is Latin1_General_CI_AS while another server (mirror) is SQL_Latin1_General_CP1_CI_AS . I did several type of troubleshooting but still unable to solve the Error 1418. All the ports are stated as started, able to use telnet to connect to the server's port but still unable to get a connection for the database mirroring. I do really need help on it. Thx for the assistance and kindness. Best Regards, Hans Hello Fernandes, Thanx for the reply and your information. I guess I forgot to give an useful information regarding ...Show All
Windows Forms VS2005 Bootstrapper: Shared License Agreement
We are using the Visual Studio 2005 bootstrapper to install the following prerequisites: Windows Installer 3.1 .NET 2.0 MDAC 2.8 SP1 SQL 2005 Express SP1 and our own custom prerequisite If the user needs all of these prerequisites installed on their machine they are presented with 3 dialogs for accepting license agreements and 1 dialog to install our custom prerequisite. I would really like to get this down to dialog total. So far I haven't found a way to do this, but the MSDN article at http://msdn.microsoft.com/msdnmag/issues/04/10/Bootstrapper/ mentions that it is possible to present a single shared license agreement. Unfortunately this article doesn't explain how to accomplish this. I would really appreciate any ...Show All
Community Chat ok it,s done...update
ok guys I have tried everything to publish my new web browser on to my site.... thanks spotty for all your help.... much appreciated.... I think my isp is not configured for click once.... I have clicked a thousand times to no avail....... so I am wondering if there is some other way to post my application... I would like to put my app on show and tell and get some feedback... any advice on how to do this thanks cheyenne ok guys....check it out and let me know what you think http://10cents.pwp.blueyonder.co.uk/avoca.html ...Show All
Windows Forms suggestion for a book on C# windows application
Hi, Can someone suggest a book about .net or C#-based Software design, programming and best practices for building financial real-time applications For example, such applications are typically built for financial institutions (stock trading companies, investment companies e.t.c) in which dealing with live market data and application performance(in terms of speed) is very critical. Thanks, I dought there will be a book on this subject. You will find book on: how to code in C#, how to optimize C#, how to optimoze code, financial algorithm, how to use the stock/trading. But not all of these subject in one book. ...Show All
Visual Basic True or False?
In my project I have a Module with the following code Module modPGS Public Create As Boolean End Module In Form One I have two events one that sets Create = True and one that sets Create = False after setting Create, Form Two opens and an event checks for the state of Create but Create is always False why is this I really dont see why this is not working. Two things to try make the module Public. The other is to make sure there is not a create a variable named create in the procedure you are checking create in. A form level create will also be used before the modules create. ...Show All
Visual Studio Express Editions Chart Control
I have upgraded a VB 6 application that has a chart. The upgrade was successful but when I run the application I get the following error: System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Unable to get the window handle for the 'AxMSChart' control. Windowless ActiveX controls are not supported." Source="WindowsApplication1" StackTrace: at WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:line 180 at WindowsApplication1.My.MyProject.MyForms.get_Form1() &nb ...Show All
