If you want to deploy wince application then you have to use wince deplyment option of only pocketpc do not use emulator.you try this it will work bcz i did this thing. Regards, Savitri, IMPOSSIBLE means I M Possible So nothing is impossible.
savitri
Posts
-
Error while deploying appilcaion - WindowsCE -.net 2005 -
How to change Tab Control BackColor?Hi All, I am doing one application using Windows CE 5.0 and Language is CSharp. In this Application i am using one tab control.For that tab control i want to change the tabpage Back Color as well as that tab button color. When i change the back color of tab page then it is only affecting to page not top button. so please give me some hint to solve this problem. Its very urgent. Please help me out. I searched alot but i not got any solution. In this OwnerDraw event is also not there. Please give me some solution. Thanks & Regards, Savitri P
-
I Want Sqlite dll for Visual Studio 2003Hi All, I am savitri here.New to this part of forum. I am doing one application for Psion Teklogix Device in VC# 2003.It is Windows CE 4.2. For that i am using Visual Studio 2003. I want to create database in device. I am not getting how to use sqlite operation in device programming. I am not getting any Dll's for that SQLite. So please tell me how to create and connect in device level programming. Give me some hints or solution.I am searching alot but not got any result.Getting struck here only. please do needful for me. Please tell me how to connect in C# using sqlite dll's. Regards, Savitri :(
-
Sqlite DatabaseHi All, I am savitri here.New to this part of forum. I am doing one application for Psion Teklogix Device in VC# 2003.It is Windows CE 4.2. For that i am using Visual Studio 2003. I want to create database in device. I am not getting how to use sqlite operation in device programming. I am not getting any Dll's for that SQLite. So please tell me how to create and connect in device level programming. Give me some hints or solution.I am searching alot but not got any result.Getting struck here only. please do needful for me. Regards, Savitri :(
-
Load Dll in RuntimeHi All, I Created one Class Library(Dynamic Link Library) in C#. I want to use this dll in another C# Windows Application. I do not want to use this through Add Reference option, I want to use or Load this dll in runtime. Please give me some solution to this problem.Give me some hints to solve this problem. Thanks & Regards, Savitri P :confused:
-
How to prevent decompilation of vb.net exe or dll?Hi All, I am new to this forum. We did one project in vb.net. I do not know how to prevent from decompilation? One way is there to prevent, is using third party softwares but i do not want to use those softwares. Is there any way to prevent through assemply level coding and from any way means without using third party softwares? Please give me some solution to prevent my code from decomipilation. Thanks in Advance, Savitri
-
MS Access Database Backup using C#.netHi All, How to take database backup through programming? and i want to create new database using old database means i want to copy all the tables of old database to new database. How to do this? Is it possible in C#.net? Please tell me how to do it. If any one have examples for this topic please give me. Its urgent please help me out. Thanks in advance. Regards, Savitri P
-
How to assign the text to toolstripstatus in runtime?Hi Henry, Thanks a lot.I got the result correctly. Thanku very much. Regards, Savitri P
-
How to assign the text to toolstripstatus in runtime?Ya it is displaying username in messagebox but it is not showing in status strip and not refreshing control also. I tried many ways but it is not displaying. Regards, Savitri P
-
How to assign the text to toolstripstatus in runtime?Hi Henry, Ya that is user name. I want to display that user name into status strip in main from. Please give me some hints to solve this problem. Thanks in Advance. Regards, Savitri P
-
How to assign the text to toolstripstatus in runtime?Hello All, I am Savitri Here. I am new to this forum and also to this language. I am doing one application in C#. Now i have two forms called Mainform and LoginForm. After running we login form will come and after successful login will get mainform. I want to assign the entered user name to toolstripstautuslable of statusstrip which is in mainform.When i clicking login button then only i am setting new value for that status strip but it is not assigning. Please help me. Below is the part of code. LoginForm.Cs
MainForm frm = new MainForm(); private void btnLogin_Click(object sender, EventArgs e) { string username,password; username=txtUsr.Text.ToString(); password=txtPwd.Text.ToString(); if(username.Equals("xxxxxx") && password.Equals("xxxxxx")) { MessageBox.Show("SuccessFully Logged in"); frm.toolStripStatusLabel2.Text = txtUsr.Text; frm.GetValues(username, password);//textBox1_TextChanged(); this.Visible=false; } else { MessageBox.Show("Not valid UserName and Password"); } }
MainForm.cspublic void GetValues(string strUsr,string strPwd) { this.UsrNam=strUsr; MessageBox.Show(UsrNam); this.PasPwd=strPwd; MessageBox.Show(PasPwd); this.toolStripStatusLabel2.Text = UsrNam.ToString(); this.Refresh(); }
Please Give me hints. Help me. Thanks in Advance. Regards, Savitri P -
Delegates and Event in VC.NetHi All, I am Savitri here. I am new to this forum and also new to vc.net language. I am getting confusion in delegates and events in vc.net. Please if any body have documents and examples for this topic please give me. I will read from that. I am not getting any examples in vc.net so i am asking you all. Please do needful for me. Thanks in advance. Regards, Savitri p :)
-
About Multiple Windows FormsHi Navaneeth, I am writing here code of form1 and form2.
form1.h
#pragma once#include "AboutApp.h"
#include "LoginForm.h"
#using <mscorlib.dll>//#pragma comment( lib, "user32.lib" )
namespace NewMDIApp {
using namespace System; using namespace System::ComponentModel; using namespace System::Collections; using namespace System::Windows::Forms; using namespace System::Data; using namespace System::Drawing; using namespace System::Runtime::InteropServices; /// <summary> /// Summary for Form1 /// /// WARNING: If you change the name of this class, you will need to change the /// 'Resource File Name' property for the managed resource compiler tool /// associated with all .resx files this class depends on. Otherwise, /// the designers will not be able to interact properly with localized /// resources associated with this form. /// </summary> public ref class Form1 : public System::Windows::Forms::Form { public: Form1(void) { InitializeComponent(); // //TODO: Add the constructor code here // } protected:
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
// Form1
//
this->AccessibleRole = System::Windows::Forms::AccessibleRole::MenuBar;
this->AllowDrop = true;
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->BackgroundImage = (cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"$this.BackgroundImage")));
this->BackgroundImageLayout = System::Windows::Forms::ImageLayout::Stretch;
this->ClientSize = System::Drawing::Size(1017, 700);
this->Controls->Add(this->statusBar1);
this->Controls->Add(this->statusStrip1);
}
#pragma endregion
public:
[DllImport("user32.dll",EntryPoint="GetKeyState")]
//static int GetKeyState (int keycode);
static int GetKeyState(int keyCode);
[DllImport("user32.dll",EntryPoint="keybd_event")]
static void keybd_event(Byte bVk, Byte bScan, UInt16 dwFlags, int dwExtraInfo);
//[import("user32.dll", ExactSpelling=true)];
//public: System::short GetKeyState(int keyCode);
public: static LoginForm^ lgFrm=gcnew LoginForm;private: System::Void
-
About Multiple Windows FormsHi, Ya i have to include header files to access the functions and variables of that class. thanks for ur guidance. I got the soft copy of that book what u specified in previous reply. In VC.NET i have 2 windows forms Called Form1 and Form2. I am including form2.h in form1 and accessing all the functions of form2. But when i am including form1.h in form2 then i am getting error and not able to access the functions. After that i did like this. ref class form1;and created object of form1 in form2 constructor and when i called form2 frm=gcnew form2(this); and also i am getting error like base class undefined for this code public ref class form2: form1 {//code here } Sorry if i written something wrong.I am new to this .net.Please help me to learn this. Thanks in advance. Regards, Savitri P
-
About Multiple Windows FormsHi Navaneeth, Thanks for your reply.I have one more doubt hot we can inherit the classes in vc.net programming. Like in C# i have one class called xyz this is normal class not window form. and one more class called save this is windows form. they wrote like this. partial class save: public xyz{ //code here}. Like this how can i write in vc.net or else is der another way to access one class into other class. Please help me out. Thanks in advance. Regards, Savitri P :)
-
About Multiple Windows FormsHi, Thanks for suggestions.But still i have one doubt. That is shall i create object in constructor or what? or without that how can i use methods of form1 in loginform. Help me please. Thanks in advance. Regards, Savitri P
-
About Multiple Windows FormsHi All, I am Savitri Here. I new to VC.Net.I am using visual studio 2005.In this i am doing one small program. I started the project like CLR->Windows Application. In that initially Form1 was created.In that i added one more Windows Form called Loginform. I am accessing functions and variables from loginform to Form1 by adding #include "LoginForm.h" in form1.h. But i want access functions of Form1 into LoginForm class,in this i am facing problem and i was not able to include "Form1.h" in LoginForm. Why it is giving problem i am not understanding? Please give me some solution or hints from that i will solve the problem. Please tell me any good books for vc.net and i want some samples of vc.Net.Please help me out. Thanks in advance to all. Regards, Savitri P
-
How to Add Crystal Report ActiveX Control 4.0 in VC++ ATL Based Program?Hi All, Good Morning.I am doing one ATL Based VC++ Program. And i want to generate reports using crystal report.This i tried in normal VC++ MFC program but when i tried with ATL Program it is giving error and i created one more ATL program in that i got error like "you can not add ActiveX Control in your project".So i want to know that is it possible to add any activex control to ATL Program or not? If it is possible then how can i do it please give me some hints. Otherwise please tell me anyone how to do reporting in ATL Based program? Please help me. Thanks in Advance, Savitri P :)
-
How To store and retrieve images from database in VC++Hi All, It is fingerprint template. I'm using DATA_BLOB Data type to store the image from the device.I'm not getting how to retrieve the stored image from the database. When i'm trying to retrieve the image from record set.that format is recset.GetFieldValue("Image",buffer);//buffer is of CDBVariant type.I want to assign the buffer value to another BYTE* variable. But i'm not getting how to do this? So please give me any hints to solve this problem. I'm also searching the solution and trying for all the options. Thanks in Advance. Regards, Savitri.
-
How To store and retrieve images from database in VC++Hi All, I'm savitri here. I'm doing FingerPrint project. In this project i want to store fingerprint in database and retrieve that fingerprint for comparision.I created one table called "Images" with 2 fields called ID(AutoNumber)and Image(OLE Object). While inserting fingerprint i'm writing SQL statement like this. BYTE* buffer=new BYTE[1632]; buffer=m_RegTemplate.pbData;//m_RegTemplate is DATA_BLOB Type. "INSERT INTO Images(Image) VALUES('"+buffer+"')"; I'm not getting how to retrieve the fingerprint from the database table. i want to save that retrieved fingerprint into m_RegTemplate.pbData for comparision. Please tell me how to solve this problem and Give me some hints. Thanks in Advance Regards, Savitri P :)