vondueck's Q&A profile
Windows Forms datagrid column cannot display time without date
i'm write a windows application using c# read the MS Access database to a dataset and display in the datagrid and users can select, insert, update, delete the rows through the datagrid now i have a problem as some of my column is set to datetime - short time but in datagrid, the value displayed is the date without the time e.g. 17/4/2003 now i just wan ...Show All
Smart Device Development Icon Logo Requirements
What is the best way to meet these logo requirements in CF 2.0 and VS 2005. Required: 16x16 and 32x32 Pixel Icons for Application and File Types Applications are required to register 16x16 and 32x32 pixel icons for their main executable and saved file types. High DPI Implementations The shell will stretch application icons: If an application does not provide a correctlysized icon the Shell will automatically stretch the provided application to the proper size. This could result in aesthetic problems. Developers are encouraged to redesign high dpi icons for their applications. What size is a proper size icon How do I tell ...Show All
Visual C++ Menu Messaging Handling
Hi ! I have created a menu on the fly. Now I want to catch messages when an item is selected from menu. How do i do it. I am doing it by catching WM_MENUCOMMAND but I get undeclared error. I defined it my cpp file with the value of 0x0126 which i checked in winuser.h . Still I dont catch any msg. Can some1 explain me the mechanism and why do i I get this compile error when I use WM_MENUCOMMAND while on the other hand WM_COMMAND or WM_MENUSELECT can be used without any prob. Regards Ibraheem Khan As far as the compiler error is concerned, you need to include your windows header after defining W ...Show All
Windows Forms Working with embedded browser from windows c# application.
Hi, I am using a embedded browser twhich will be invoked when link is clicked on a form. I have two buttons on the html page. Can any one tell me how to find out if user clicked particular button on a html page from c# windows application Appreciate your help Thanks Hi, If the page that you are displaying is yours, you may make each button to redirect to some URL specific for it (actually it is enogh if you pass some dummy parameters like if my site would be google I would associate following URL with button1: http://www.google.com/search hl=en&q=test&button1=true ) Then you ...Show All
SQL Server Local report pdf export
I have found several questions and remarks about the pdf export in local mode. The big problem is that the export to pdf option in local mode is useless when compression is not supported. My questions: 1.) When (VS 2005 date ) will pdf compression in local mode be supported 2.) Is it possible to compress the result of the LocalReport.Render method with custom code 3.) It seems like a small adjustment to use the server mode compression code also in local mode. Is it part of a MS strategy to force the use of server mode Thanx, Arjan I don't know of any plans to support PDF compression in local mode. ...Show All
Visual Studio Express Editions Problem porting a Visual C++ 6 application to Visual C++ 2005
I'm trying to migrate a project made on Visual C++ 6 to Visual C++ 2005, but even with no compilation errors, the application don't work as the VC++ 6 project. My application is a project about API Hook, and it's not working on Visual C++ 2005. What can I do to maintain compatibility Hi! You need to provide more information about your problem. Which library you use - MFC, ATL, WTL, STL... or clean Win32 API What function not working as you expected - post it here, so we can see it. ...Show All
Visual Studio 2008 (Pre-release) xaml web app calling Indigo Service problem, help!
hi, I have built a winfx web browser application, and an IndigoService. the folowing problem appears when I tried to execute the web method in indigoservice System.Security.SecurityException: That assembly does not allow partially trusted callers. anyone got a clue thx You cannot use Indigo in regular Web Browser Applications because of the security restrictions (Indigo requires full trust). The solutions: 1. Use a standalone application instead of WBA. 2. Make the WBA full trust http://blogs.msdn.com/karstenj/archive/2005/11/29/498061.aspx 3. Use AS ...Show All
Visual Studio Tools for Office Suppressing "Do you Want to Save" window
I have written a macro that automatically saves a file as a Tab Text file and quits Excel, but the "Do You Want to Save the Changes " message box pops up. I want to suppress this window. I can do it in Windows with the "saved=true" statement, but I need this particular macro to run on a Macintosh, and that statement doesn't seem to work. Any Ideas THANKS Never mind, I figured it out. Someday when you're old and senile you'll understand. ...Show All
Visual C# How to change the color of a substring?
for example: string newStr = "The color is red"; label1.Text = newStr; output: The color is red Hi icemart525 you want this to work in Web Application or Desktop Application Rags ...Show All
Visual C# Retrieve images from Microsoft Access DB
if in VB.NET how ...Show All
Microsoft ISV Community Center Forums How to create a DLL in VB.net for MS Access 2003
Hi, I've been searching high and low on the net but I cannot find out how to create a dll in VB.Net that I can call from VBA in MS Access 2003. I know that I need to add a com interop to allow vba to reference it but I've not found out how to do that. Does anyone know Hi, You might want to try the VBA forum. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=74&SiteID=1 Thanks. ...Show All
Windows Forms tab control issue
Get some trouble with tabcontrol I created serveral tabpages, each of them have a few controls, and has one "Save" button, once clicked, all tabpages will saved. I perform some validation on each tabpage. some, if a wrong input is detected, the tabpage shall be display, and the control with wrong input shall get focus. I use this function, mytabpage.Show() ...Show All
SQL Server Getting sample databases in Management Studio
How to get sample database AdventureWorks and AdventureWorksDW deployed in Management Studio. I selected to install sample database entire feature on my local hard drive and I can see it did installed all the .mdf,.ldf,.dim,.cube and the rest in C:\Program Files\Microsoft SQL Server\90\Tools\Samples\ How can I get the database in Management studio. I tried to use Attach db and it didn't worked, gave me following error Msg 1813, Level 16, State 2, Line 1 Could not open new database 'AdventureWorks'. CREATE DATABASE is aborted. Msg 602, Level 21, State 50, Line 1 Could not find row in sysindexes for database ID 8, object ID 1, index ID 1. ...Show All
Visual C++ MemoryStream
This does not work: MyStream is a MemoryStream InsertString = String::Format ("insert into blobtest (blobtest) values ('{0}');", MyStream->GetBuffer()); MyStream->GetBuffer() just returns "System.Byte[]", not the actual data, which is what I want. You can see what I'm trying to accomplish here. Why isn't it working Before I answer this question, I'd like to know how you obtained MemoryStream (did you make it from a file Which file Did the user type it in ) What is the column type for blobtest ...Show All
SQL Server SQLEXPRESS Problem in Visual Webdeveloper 2005 Exress.
Hi, I installed VWD 2005 and SQL Express 2005 and they both run excellent. When I try to create a database in the App_Data folder of my website it tells me "Failed to generate a user instance of SQL Server due to a failure in starting the process for the user instance the connection will be closed" I checked that all the services are running and they are. I use the SQL Server Management Express 2005 tool to connect to SQLEXPRESS and that works fine. I can view databases, create them ect... When I try to create a new SQL Database it just gives me that error above. Please help!!! ...Show All
