Vikramvk's Q&A profile
Smart Device Development Issue with sending emails on Windows Mobile 5.0
Dear ppl, I have a windows mobile 5.0 application (CF 2.0 SP1). I am using classes in the Microsoft.WindowsMobile.PocketOutlook namespace for sending emails using the code like EmailMessage email = new EmailMessage (); email.Subject = "Subject ..." ; email.BodyText = "Some stuff ....." ; OutlookSession os = new OutlookSession (); email.To.Add( new Recipient (" nabeelfarid@yahoo.com " )); email.Send(os.EmailAccounts[ "Acount name ..." ); The problem i am having is that after running this code, the email stays in the Outbox of Pocket PC Outlook on the device.... I have to go to the Outlook myself and explicity do Send/Recieve to send the email...otherwise the email sta ...Show All
Visual C++ ERROR MESSAGE
well i am a naive at vc++ and prcticing my hand on small problems like finding a factorial,string operations etc.But the problem with visual studio is that many a times when i run an application it gives the following error: This application has failed to start because MSVCP80D.dll was not found.Reinstalling the application may fix the problem. I'm tired of this error.and i don't know how to send you the picture of error to you[i'm naive please forgive me!!!) i think this error occurs generally when some decision in the program is compiler dependent. please help me out please!!!!!!!!!!!!! What exactly are you doing Are you trying to install and run your application on a different machine And please don't " ...Show All
.NET Development Update requires a valid UpdateCommand when passed DataRow collection with modified rows
I m coding with VB.Net. I have a datagrid on my form with a dataset as its datasource. The dataset contains rows from a joined two tables: Feature table and Price table. Feature table contains the customers'features. It has the ID of the features, the date the feature was added, the expiry date, the employee who added it.... The Price table is a look up table that contains the ID,price, Code, description and name of each feature. So my SQLquery is: SelectFeature_ID,Feature_DateEfect,Feature_DateExpiry,Feature_Employe, Price_Name, Price_Code, Price_Name... The reason why I use that joined query is that I need to display all the columns on my datagrid including the values from the Price look up table. But I update only the Feature table wit ...Show All
Visual Studio Error exporting a report with image to EXCEL using ReportViewer
I was using ReportViewer running under LocalProcessingMode. The report contains an image object that is stored in a datasource. The report rendered correctly from the UI. However, it has problem on the exported report using EXCEL format. When I opened the xls file, it has an error of "File error: data may have been lost.", all content on the report displays correctly in the EXCEL, but the image cannot be shown. If I exported it to PDF, it works perfectly. Any idea what causes the problem I use all the built-in code from the reportViewer control. The control has been set to use embeddedExternalImages as well. ...Show All
Visual Basic Troubleshooting with IDE - Unable to open search!
Hi. I have Visual Basic 2005 Express Edition and I am having problems with the "Search" option, where you type in Keywords and it searches on 4 different websites / places including my on-board MSDN. It has worked before, in the past, and has been very helpful... But lately it will not open when I try to start it. When I click on the "Search" button at the top it gives me this message box: "The type initializer for 'Microsoft.VisualStudio.CommonIDE.Help.Sylesheet' threw an exception." and that is all that it tells me. I have no idea why it says this and will not open. I have also tried reinstalling my software and that did not help a thing. Thanks, I hope you can help. -Joe M. ...Show All
Visual C++ How to deploy MFCMIFC80.DLL?
Hello VC++ Forum, I've added a CWinFormView to my MFC MDI project to show a .NET 2.0 control. Really really nice and working fine :) Now I wanted to test my stuff also on another machine and copied my DLLs and EXE there. That machine got .NET 2.0 and MFC 8.0 components installed. Well, when I want to open my View now, I get a message "MFCMIFC80.DLL version 1.0.0.0" missing. After that message, the program gets teared down and I must use the taskmanager to shut down its process. I tried to copy that DLL to the machine, but that doesn't help. I tried to install it to gac, but that won't work. Now I'm curious what I've got to do. I asked our deployment guy, and he said the MFC runtime stuff is installed on that machine. He doesn't h ...Show All
Visual C# Change Default Project folder
Hi All, When i create a Project using VS2005, by default a folder with the namespace gets created. for e.g. When i create a project with name Test.Test1.Test2.csproj and namespaceTest.Test1.Test2 under C:\MyProjects\ A folder with name Test.Test1.Test2 gets created, How can i avoid this i want to create the project as C:\MyProjects\Test\Test.Test1.Test2.csproj Any pointers would be great. Apologies if this is wrong category. Thanks, Swarup Hi, When creating a new project, you need to specify C:\MyProjects\Test\ as folder to save your project. Greetz, Geert Geert Verhoeven Consultant @ Ausy Belgium My Personal Blog ...Show All
.NET Development dotnetfx3.exe hangs while Installing..
I am running Windows XP SP2. I tried Installing .net framework 3.0 using dotnetfx3.exe, after sometime it stops responding. Here is the log file. [12/17/06,14:00:49] WapUI: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CProgressPage::RunningComponent() [12/17/06,14:00:49] WapUI: {4F8791EE-486F-44B5-952B-F28F9FD58BD0} [12/17/06,14:00:49] Setup.exe: GetComponents() [12/17/06,14:00:49] Setup.exe: get_Components() [12/17/06,14:00:49] Microsoft .NET Framework 2.0: ISetupManager::GetGlobalCustomProperty() failed to find global prop in CBaseComponent::GetGlobalCustomProperty() [12/17/06,14:00:52] Microsoft .NET Framework 2.0: Looking for InstallPackage at netfx.msi [12/17/06,14:00:52] Microsoft .NET Framework 2.0: L ...Show All
Visual Studio 2008 (Pre-release) ADO.NET Samples for Visual Studio “Orcas” - October CTP are available for download!
This CTP contains Samples for ADO.NET features in the Visual Studio Code Name “Orcas” - October CTP. Download it from here . Visual Studio Code Name “Orcas” - October CTP is a prerequisite for these samples. Download it here . Enjoy! Guy Burstein http://blogs.microsoft.co.il/blogs/bursteg Copy Paste Issue In the EntityClient project (part of the samples solution) there a few samples about Entity SQL. Notice the documentation above the NestedResultsSet and the Aggregate samples - there are the same... In that case, what does SqlServer.Count(1) mean Is it any specific Sql Server function that is not supported in any other data base Guy ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Selling Games on Xbox Live Arcade
Hello, I am currently putting a team together to create new Xbox Live Arcade games. They will be using the XNA development tool and the projects will be financed by myself. How long will it be untill Indy developers can sell their games online in order to re-coup some of the money and produce additional games Any help is appreciated. Regards Ian sarge mat wrote: Well first you need to make the game and talk to Microsoft about developing it for Xbox live arcade. That's a fairly steep first step. I think more clear information on how indie developers can get onto Xbox Live Arcade is definitely in order. I can't help but feel Microsoft is being purposefully tight lipped in this regard because they'd like people to hope for th ...Show All
SQL Server Encryption in SSIS package - symmetric keys
1) We have OLTP DB on 2000 & OLAP DB on 2005. 2) We have decided to use SSIS for migration and interface is BIDS to develop, build, deploy & install SSIS packages. 3) We even have to encrypt some tables colmns data while reading from source so that it is secure in network and gets into target database as such requiring decryption for reports and front end display. 4) For database Security, we are going to use AES 256 Symmetric Encryption. We will be using RSA for Asymmetric Key Encryption, 1024 Bits. Can you please give links on these 2 encryption mechanisms. 5) Where can we use Symmetric Encryption & Asymmetric Key Encryption i.e on columns of tables i.e. data or password & based on what do we decide which to u ...Show All
Smart Device Development .Net developer walking on the dark side.
I am working on an application for a custom Windows CE 5 device. The application will be written in C# and run in the Compact Framework v2. I have been asked a question that lead me to write a quick and dirty C program. The question is how much overhead does the CLR add to our network communications. The issue I have is that I am using VisualStudio 2005 to write this C program. The only options VS2005 give me for creating a Win32 Smart Device project are Pocket PC and SmartPhone. Is there a way that I can compile and deploy a C/Winsock program to my custom WinCE device using VS2005 I have already built the platform image in Platform Builder and deployed that to my test bench. I have also written and deployed a network benchmark in C#. No ...Show All
Windows Forms Using dataview to search through a datagrid
Hi, I have a datagrid as follows: CaseID Name Date 1234 abc 12/23/41 5678 def 1/23/42 9876 ghi 2/24/42 Now what I want is a search functionality that takes the value of the caseID and returns the value within the same datagrid. So when I search for CaseID 1234, the datagrid is populated as follows CaseID Name Date 1234 abc 12/23/41 I was wondering if somebody can point out how to do the above. I want to populate the same datagrid with the value of the search. Thanks thanks for the prompt response: In your code...value is a parameter provided by a function. So do I do something as follows: SearchBox(int value) { DataView theDataView ...Show All
Visual C# Installing a c# app with .net framework
Hi, I want to create a wizard that also installs the .net framework. Is this possible Thanks You can just download the redistributable and attach it to the setup project, so it will run before installing. If you play a bit with the settings you could probably make it run only when necessary. ...Show All
.NET Development Could not find installable ISAM
when i am trying to connect to Excel form Visual Studio 2005 i am getting an Error : "Could not find installable ISAM" Statements are: OleDbConnection con = new OleDbConnection ( "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + m_SourceFileName + ";Extended Properties=Excel 10.0;" ); con.Open(); Can Any body Help me Make sure you have Jet 4.0 installed on your PC, not Jet 3.51. If it is version 3.51, you would get this error. To install 4.0, you need to run latest service pack for it, which you could find here http://www.microsoft.com/downloads/results.aspx pocId=&freetext=jet%204.0&DisplayLang=en ...Show All
