Omar Fawzi's Q&A profile
Smart Device Development Downloading .NET CF 2.0 to Mobile device
Hi all, We have a Dell Axim running Windows Mobile 5.0 and have been asked to develop software for it using C#. I have never used .NET so I have a lot of questions. The most important being; is there a .NET CF 2.0 for mobile devices and how big is it ( The Dell Axim is limited in memory). Im assuming there is one for these devices since Visual Studio 2005 shows support for smart devices. How do I install this into the Dell AXIM I know these are basic questions even for the beginner but Id like to at least get past this block. Thanks in advance Zion_zii wrote: Hi all, We have a Dell Axim running Windows Mobile 5.0 and have been asked to develop software for it using C#. I have never used .NET so I h ...Show All
Visual Studio Tools for Office .Net setup failure in Win2k
i have created a setup file in .Net 2005 under xp platform, where i created the project on xp with .Net 2005. when the run the setup file in works fine on XP , but when i run the setup on win2k , i am getting an error System.DllNotFoundException: Unable to load DLL 'uxtheme.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E), this must be the reson that xp themes are not installed on win2k , how to resolve this issue, where i want to run the setup created on xp platform on win2k http://www.google.com/search hl=en&q=conditional+installation Or even more precise link: http://msdn2.microsoft.com/en-us/library/aak1cze8.aspx ...Show All
Visual Studio Team System MCPD Details
I am planning to do MCPD Exam. I want some details abt MCPD like how many papers, what are all the papers, where i can get the details. i want some guide details.plz help me to do MCPD Sorry, this forum is related only to questions about Team Foundation Server, and I think there is no specific forum on MSDN about certifications, so better try in newsgroups and also here you have a lot of info http://www.microsoft.com/learning/mcp/mcpd/ Good luck. ...Show All
Visual Studio Team System Refactoring Has Failed
I am trying to use the refactoring on a SQL2005 project but all I get is the error "refactoring has failed". I opened my SQL2005 project. I went into the schema view and opened the tables up. I picked a clolumn in a table and right clicked it and selected Refactor->Rename. I typed in the new column name and clicked OK. That is when I get the error. Thanks ...Show All
SQL Server matrix formatting
I am working on a report that uses a matrix to display data because the report can have a dynanic number of columns. The dataset is in the format: DATE PROJECT NAME HOURS Nov06 1234 Sally 12 Dec06 1234 Sally 1 Jan07 1234 Sally 2 Feb07 1234 Sally 10 Nov06 45364 Sally 8 Dec06 45364 Sally 34 Jan07 45364 Sally 17 Feb07 45364 John 1 Mar07 45364 John 11 Apr07 45364 John 4 May07 45364 John 8 I have a column grouping on DATE and a row grouping on PROJECT then EMPLOYEE with HOURS being summed. I want to have each project be on its own page so in the PROJECT grou ...Show All
Visual C# listBox - System.NullReferenceException
Hi All, I'm rather new at C# and wondering if you might help me figure out what the problem is with the code below. What I'm trying to do is get this: I have two listboxes one is populated via the smart tag in VS2005 it displays Company Names and the value of each item is the ID. Now when i click on one of them it populates the second listbox with files on a remote server. So far it all works well and no problems. Now when I click on one of the items in the second list box I get the nasty error: System.NullReferenceException: Object reference not set to an instance of an object. Here's the code: private void listBox1_SelectedIndexChanged(object sender, EventArgs e) { if (listBox1.SelectedIndex != -1) label2.Text = listBox1.Select ...Show All
SQL Server How can I format the Date in the SQL Table using a SQL query
Hi I have a SQL table that contains date in this format :- 2006-07-02 16:20:01.000 2006-07-02 16:21:00.000 2006-07-02 16:21:01.000 2006-07-02 16:22:00.000 2006-07-02 16:22:02.000 2006-07-02 16:23:00.000 The date above contains seconds that I dont want, how can I remove those seconds so that the output looks like :- 2006-07-02 16:20:00.000 2006-07-02 16:21:00.000 2006-07-02 16:21:00.000 2006-07-02 16:22:00.000 2006-07-02 16:22:00.000 2006-07-02 16:23:00.000 Your help will be highly appreciated. Hi, You need to remove Select Key word.. UPDATE [dbo] . [Date_Test] SET Date = DATEADD ( s , - DATEPART ( s , Date ), Date ) ...Show All
Visual Studio HELP!!! error 25007 while i install visual studio 2005,how can i fix it?
i corruptted a critical problem while installing visual studio 2005 pro. in my en_xp with sp2 and all updates. while i tried to install that visual studio 2005 sp1(beta), the install wizard told me i got a not enough space in my C:/ drive, so i rolled back it. however, someone cancel it while it rollbacking, while i tried to open the existed visual studio 2005 to write some code, a error happened, so i decided to reinstall the visual studio 2005. Before that, i uninstall the Document Explorer and XML 6 parser ,also .net framework 2.0 and all components of visual studio 2005. even more, i deleted the C:\assembly folder. i cannot bear that just. However, while i reinstall the visual studio 2005 pro. it runs into a critical error ...Show All
Visual Studio Express Editions Impossible to install visual studio 2005
Impossible to install visual studio 2005 because the "vs_setup_msi could not be opened", i tried with different versions of visual studio like c# or c++ 2005 (express or standart) & i've allways the same message & can't install it. Visual studio 6 is installed & works fine & i know they could work together. I tried to install framework 2 before, to uninstall it before; i also re-install dotnetfx & i had no beta or express previous install. I looked for topics about this problem everywhere (Google, Msdn, different developpers forums) but if i found a lot of people who had the same problem, i never find a solution. What can i do Is there someone to help me Thanks in advance for any help. os: xp home + sp2 uptodate ...Show All
Windows Forms Generating 3D graphs in .Net 2.0 windows forms.
Hi, I m willing to use Charting Tool to draw 3D Charts in Windows Forms in .Net 2.0 I want to generate a chart having all 3 axes plotted on the screen i.e. X(Customer_acctbal),Y(supplier_acctbal) and Z(Compilation Cost). The requirement is in as shown in the image below. My questions are: 1) Is this possible to draw using any chart utility 2) If yes, then please guide us which chart utility to use and how to generate charts using all the 3 axes ,if possible, kindly provide sample project/code to do so. Thanks & Regards. Vikas. See this project:C# 3D Charting ...Show All
Windows Forms public IList GetItems()
hi, I wants to know the return type of the following is IList public IList GetItems() whats the use explanation...... Hi, jitendra badkas IList is an interface, and it is generally considered good practice to code to an interface rather than an implementation. This allows the internals of the method to be hidden from the user. Later, if it is discovered that another type of List would be better, the internal implementation can be chanced without the calling programs need to be aware of this change. Hope it helps.Regards. Zhixin Ye ...Show All
Visual Studio Express Editions Can't view my project
Hi, I've been working on a project for the past 2 weeks in Visual Basic 2005 Express Edition. For some reason now when I open my project I can't view any of it. It only has one form but I can't get it to display. When I open the project all that comes up is the Start Page tab, nothing else. I'm not sure I've explained that very well but I hope someone understands what I mean and can help. SlickRed Slickred, i have had some similar problems with my projects. The fix i have had to use before was to Create a new project and then import my files into the new project. That has seemed to work for any major problems i have had. My problems mainly have been forms and code not working. I ho ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Unable to render mesh
Hello there, guys! I've a little problem with Direct3D9. I'm following a book written by Jim Adams, called "Advanced Animation with DirectX" This book show you how to extend the classes D3DXMESHCONTAINER and D3DXFRAME, and using them to render meshes. Now i'm trying a my example, that you can see here http://phpfi.com/182098 But there are some problems: At first, the mesh is not rendered, i've tryied so much position with camera but nothing i can't find it., but the Device->Clear works... I'm also using a simple shader, here is it... float4x4 matWorld; float4x4 matView; float4x4 matProj; float4x4 matTotale; texture TextMesh; sampler2D STextMesh = sampler_state { texture = <TextMesh>; MIPFILTER = linear; ...Show All
.NET Development Reading Binary Format (QBasic) with C#
I have a binary file with data stored in an old format [Microsoft Binary Format (QBasic)] The file is configured like this ----------------------------------------------------- Start Byte | End Byte | Lenght | Description | ----------------------------------------------------- 0 | 3 | 4 | date format YYMMDD | ----------------------------------------------------- 4 | 7 | 4 | Float | ----------------------------------------------------- 8 | 11 | 4 | Float | ----------------------------------------------------- \ \ \ ----------------------------------------------------- 24 | 27 | 4 | Float | ----------------------------------------------------- The first 4 bytes contain the date ...Show All
Visual C++ Problem with end of file with Ctrl+z
Hello, I not understand why my program not work. Here is my code. #include <iostream> #include <fstream> #include <string> using namespace std; fstream f; void Create(); void Print (); int main () { int n; do { cout<<"1. Create a new file "<<endl; cout<<"2. Print file"<<endl; cout<<"Your select: "; cin>>n; if (n==1) Create(); if (n==2) Print(); } while (n>=1 && n<=2); return 0; } void Create() { f.open ("Proba.txt", ios::out); string name, Nr; while(cout<<"Name: ", cin>>name ) { cout<<"Nr: ", cin>>Nr; f<<name<<" "<<Nr<<endl; } f.close (); ...Show All
