Jay_MTN's Q&A profile
Smart Device Development WM5.0 Appcore assertions?
I am porting our application to WM5.0 and everything is compiling properly now however when proceed to launch the debug version of the app I get a number of assertions starting with Appcore line 439 which is the constructor of CWinApp and asserts with a ASSERT(AfxGetThread() == NULL). In tracing through it seems to run through the CWinApp constructor fine about 3 times for dependent DLL's but after the 3rd time it issues this assert. This app runs fine in previous versions of Windows Mobile so I'm not sure why WM5.0 would cause this to behave differently. Thoughts or suggestions would be very helpful. Regards, Justin ...Show All
Visual Studio Crystal Reports
hi, im using crystal repotrts 9 and its the first time i use it, im wondering how can i make an invoice report, i want to tell the rpeort to print the invoice im telling,, and not all... how can i do it im also uding SQL server 2000 and vs 2005 mig16 There are a lot of tutorials for Crystal Reports, here is a little list: Crystal Reports in C# Working with Crystal Reports in C# Creating Graphical Reports With Crystal Reports in .NET ...Show All
Visual C# Nullable Value and Generic
I want to mark a generic class to support nullable value. The following is my class public class DataField<T> where T:System.Nullable<T> { public T Value; } But it can't. Why Please help me.... 1. string is not actually valid. Nullable<T> has a struct constraint so only value types can be used with Nullable<T>. As far as I'm aware there is no way to use constraints to say: Only allow reference types and nullable types. The only way I can see to do this is to remove the constraints and run some sort of type check within the static constructor of the gener ...Show All
Visual Studio Express Editions Free Ebooks in Express Editions - How to get them?
hello everyone, i just downloaded the ISO version of visual c# 2005 express edition and installed it on my workstation. is there any way for me to avail of the free visual c# ebooks that registered users of the online edition can get thanks and best regards, matt Solution to download e-book (or free tool from Microsoft Connect) by Microsoft File Transfer Manager. Close all internet connection. Open Microsoft File Transfer Manager. Connect your internet connection. At Popup Confirm application validation, click 'Yes' Select your download job (ex. Microsoft Visual C# 2005 Express Editio ...Show All
Visual Basic How do I solve this error ?
Dim WithEvents oXL As Excel.Application Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click oXL = New Excel.Application() oXL.Visible = True oXL.UserControl = True End Sub Press F5 to build and to run the program. After Form1 loads, click Button1. Notice that you receive the error message on the following line: oXL = New Excel.Application()//error ...Show All
.NET Development Delayed send with smtpclient in .net 2.0
Is there any way to force the smtpclient to send mail immediately with the .send method in system.net.mail 2.0 Right now it takes anywhere from 90 secods to two minutes before the mail is actually sent once the .send method executes. I've tried setting the object to nothing immediately after the .send method call, but no luck. The real issue for me is the send delay is also causing the smtpclient to hold a lock on attached files that are being sent for that same 90 seconds to two minutes. I need to move the file immediately after emailing it, and right I get an exception telling me two processes can't access the file at the same time ...Show All
Visual Studio Tools for Office excelsheet without listobject
Hi, Actually as per my requirement I want to generate columns separately and fill data below that column separately. And this will not be possible with listobject. Thats why I want to bind data to excelsheet without using listobject. How can I make it possible. Please provide some code if possible. Thank you Hi Prashant, You could 1) Use multiple single column list objects 2) Use a named range to define your column and populate the data areas below the named range. Darryn Lavery [MSFT] ...Show All
Visual Studio 2008 (Pre-release) February CTP install problem
I have the problem referenced in the ReadMe: "A few users have seen a situation where when they try to create a WinFX project, they get a package load failure for the WPFFlavor. This appears to be due to having a machine that had earlier versions of Visual Studio, WinFX, and the Microsoft Visual Studio Code Name "Orcas" Community Technology Preview - Development Tools for WinFX installed. If you hit this problem, run "devenv /setup" from the command line and this package load failure should be resolved" Running "devenv /setup" has not cleared the issue for me. Anyone any ideas Thanks Joh ...Show All
SQL Server SQL Server wont start (after ALTER DATABASE for model db)
I ran an ALTER DATABASE on my model to move the data and log files. The command ran ok, I have physically moved the files, but SQL wont start now - the error is "... terminated with service-specific error 1814". Anyone know what I can do Whats the detailed error message in the event log HTH, Jens Suessmeyer. --- http://www.sqlserver2005.de --- ...Show All
Windows Forms Diagram Editor
Hi! I was wondering if anyone can advice me or point me to samples that can help me to build a diagram editor. I'm thinking of something like a simplified version of Visio for my code generator. Any ideas Hmm... shouldn't you divide business components and UI pages I would think that all your tables can be mapped to business entity& ...Show All
Visual Studio Express Editions read a remote file in a char * variable
People, how do I read a remote file in a variable Respectively, I need some function like char *file_get_contents ( char *url ) so that i can remote_file = file_get_contents ( "http://192.168.0.10/somefile.html" ); Is there some straightforward way Before trying to do this through HTTP, are you able to do this by going through the LAN filename = " \\ \\192.168.0.10\\www\\somefile.html " // this will open somefile.html using NetBIOS and the Windows Network, // like how a mapped network drive works. ...Show All
Smart Device Development Editing Image of type bmp or jpg
Hi All, I need some help, i want to retrive image from DataBase which will i get in byte[] and display it with pictureBox, also user can edit this image and store that Edited image in DataBase. i had solution for retriving, displaying and storing back to DataBase but i dont know how to make it Editable which is v r doing in MSPAINT. please help me to find the solution, Thanx in Advance, Take a look at the "Scribbler Technology Sample" available in the SDK. http://msdn2.microsoft.com/en-us/library/b6w22zk7.aspx ...Show All
Visual Studio Team System Undo unshelve
Is there a way to undo an unshelve. In other words I want to bring the code back to how it was before I loaded up someone's shelveset onto my workspace I tried doing Undo Pending Changes, but its undoing the changes I had made before loading the shelveset. Thanks, JGP No, unfortunately. I agree this would be nice to have (along with merge-on-unshelve). A "best practice" might be to save your workspace to your own shelveset before unshelving anyone else's code. ...Show All
Windows Forms Display recordset in more than one row
Hello, I miss the container control from access in .NET. In an existing access application their is a detail area that displays data from a database in two rows. For example 1. Row: Name Given name Date of birth 2. Row Street City Number ----------- 1. Row: Name Given name Date of birth 2. Row Street City Number ----------- 1. Row: Name Given name Date of birth 2. Row Street City Number ----------- and so one. Is it possible to display one datarow in 2 datagridview rows ...Show All
Visual Studio Express Editions Beta 1 SQL Server express refuses to uninstall
A while back I uninstalled VB 2005 Express, but didn't uninstall the SQL Server that came with it. Now, when I try to follow the explicit instructions for uninstalling beta 1 of VB 2005 Express, I get an error message stating I "need to install VB first", and then it quits. I no longer have the beta 1 VB express setup files, so I'm kind of stuck. Can anyone tell me how to remove the beta 1 SQL Server parts so I can proceed with installing beta 2 Hi John, VB Express (or lack thereof) should not stop you from uninstalling SQL Express. Just skip over the step that calls for VB Express u ...Show All
