how to connect to web browser in compact framework in device applications.<br/>if i write <br/>webBrowser1.Navigate(new Uri(textBox1.Text));<br/>it is asking for modem connection how to connect to that?
816 byte By
Zack.Net at 2007-11-25 10:50:52
hi, does anyone know how to obtain text from an external application's editor. I've used some Pinvoke functions to obtain the main window handle, then enumChildWnd to find the relevant class handle that the editor derives from. Now my question is. now that I've got the handle.. what d...
2470 byte By
Humdum at 2007-11-25 10:50:54
the below code is for word wrap where user can specify no of char per lineon text_change eventthere is problem if anyone can help me to remove this, plz plzif user enter 3-4 lines:"This is trial message plz ignore.This is trial message plz ignore.This is trial message plz ignore.This is trial messag...
261 byte By
dahwan at 2007-11-25 10:50:57
How can i define the define the diffrence betwen FileDialog's OK click or Cancel click?<br/>All it has is "Apply_Click", which doesnt cover OK click. There is no way to define if i have clicked OK or Cancel =0<br/>Plz help<br/>Thx in advance
112 byte By
hkullana at 2007-11-25 10:51:03
hi,<br/>i have a .gif file and i want it to be the icon of my application's exe file. How can do that?
93 byte By
dahwan at 2007-11-25 10:51:24
How can i use Stream?<br/>Sometimes i need Stream to save files.<br/>Thx in advance
I would like to start my app automatically on CE device.I'm using .CF and C#.I try to write in Registry HKEY_LOCAL_MACHINE\init by a c# app that opens the SubKeys "init"and adds RegistryKey.SetValue("Launch70", "MyApplication.exe").After a cool-reset nothing happened.Somebody helps me? thanksMa...
476 byte By
da_cobra at 2007-11-25 10:51:30
I have a form on which I have to fill in some textboxes.When the user presses ok, I first have to check if all the textboxes are filled in correctly. If so then the form may be closed, else I need to cancel the ok_button_pressed and let the user re-enter the textboxes.I tried exiting the "btnOK_Clic...
1042 byte By
hkullana at 2007-11-25 10:51:34
hi,what i want to do is simple but i have a problem.I have a button at a location of 50,50. When i hit the button i want to create a textbox on the button's location and i want the button move down by 30 so i prepare a code for that here is the button1's click event:TextBox t = new TextBox...
254 byte By
dahwan at 2007-11-25 10:51:41
Is there a free image to icon converter somewhere? I was searching for some a while ago and got infected by so many trojans i had to reinstall my PC. -.-<br/>So does anyone know of a way to convert images to icons or a free image->icon converter?
This is kinda app specific but if by chance this is a generic C# error, or if there are some familiar with RunUO maybe I could get help. The owner of a server run by the makers of this software hates me as my server is competition so I'm banned but I wont go there... different story. Anyway,...
641 byte By
RickyD at 2007-11-25 10:52:10
Ok I have one problem left to solve on some homework I am doing and I cannot seem to figure it out. I have read the book and I still cannot seem to get it. I am trying to find the mid point value in between the largest and smallest value. Not the average but the actual invoice total that is half way...
312 byte By
dafnaz at 2007-11-25 10:52:21
I have a solution that combine C#, C++ - native, and a warpper. while trying to set a breakpoint in the natibe code (C++) I got a question mark. the program is working fine, and surley the native code is runnig too, but I can't put any break point in to it. What do I need to do in order to debu...
638 byte By
CKeef at 2007-11-25 10:52:31
I would like to create a C# program (Console application) that will be equivalent to entering the following lines in a command prompt window. chdir C:\Program Files...\R-2.4.0\binR CMD BATCH scrap.RDEL .RData(it's running the statistical package R in batch mode, scrap.R is an R script.)Can any...
389 byte By
Goldbach at 2007-11-25 10:52:44
I create ActiveX control by following code:Type type = Type.GetTypeFromProgID(PROG_ID, true);object axObj = System.Activator.CreateInstance(type);and call method by following code:type.InvokeMember("MethodName", System.Reflection.BindingFlags.InvokeMethod, null, axObj, new object[] { });How can I se...
17 byte By
prat5 at 2007-11-25 10:52:46
wdfoihj wfj check
Let's say that I have one file.txt with folowing text ( something 14.56 ).<br/>Now, I have to read this line from my code and put value od 14.56 in some variable which type is double.<br/>Is there any method that can found numbers(double) in string? And add that value to variable in code?
2382 byte By
da_cobra at 2007-11-25 10:53:13
My database application is getting along very fine now, and I'm starting to understand database programming more and more thx to you guys here on dev-archive, but now I came upon a new problem :"Update requires a valid InsertCommand when passed DataRow collection with new rows."on this code :...
440 byte By
nodo at 2007-11-25 10:53:18
I am trying to write an application that locate the box based on user input. For example, I have ten boxes (naming 1 to 10 in order) and user input 2 Once user hit button "Find" then the box number 2 will turn GREEN or what color we decide to. I know this is a simple application but if anyone can...
42 byte By
Arjay at 2007-11-25 10:53:28
Is this the forum to ask 'em? Thanks.
259 byte By
Arjay at 2007-11-25 10:53:30
I'm looking for a sample, article, blog whatever for implementing role based security in a WPF app. I've done this with a custom provider in .Net 2.0 and would like to getting started in the right direction in WPF. Any pointers would be appreciated.
277 byte By
Saeed at 2007-11-25 10:53:47
I am trying to read an ini file using how I used to do it in MFC.<br/>string s;<br/>int nSize=256;<br/>GetPrivateProfileString("GENERAL","INPUT","input",s,"test.ini");<br/>Error 1 <br/>The name 'GetPrivateProfileString' does not exist in the current context
271 byte By
chobo at 2007-11-25 10:53:59
Hi, I'm kind of confused on how to get data from usb devices, more specifically a data logger. I guess first off can this be done using c#? I've really never had the pleasure of low-level programming, so I have no clue where to start or how to begin. Thank you.
607 byte By
HKSS at 2007-11-25 10:54:48
Hello!I'm kind of desperate here. There is a programming competition I'm participating in and it requires one to write a console PacMan. I know how to work with Windows forms in C#, but I have no idea on consoles when it comes to the graphics.What kinds of classes does .NET (yes the contes...
H'ok, so, I hope this is quick and easy for you.I need to write a C# program that accepts an integer number into a variable, and then tests the variable against 100. If the value of the variable is less than one hundred, it has to multiply the variable by 10 and finally display the variable.The...
6844 byte By
johansolo at 2007-11-25 10:54:57
Hello all.I've been working in C# for DirectX 9.0 in Visual Studio .Net, trying to work with force feedback via a MS Sidewinder joystick. I've culled code mostly from the MSDN knowledge base. I can upload an effect and I can read all of the buttons and axis info (took me a while to discove...
I am currently building a project of base-classes which I can reference from other projects/solutions. I already have a set of base-controls which are subclassed in a single .cs file, and now I am embarking on subclassing the classes which can be done visually. Apart from forms and usercontrols,...
Ok, here a very simple example of a text box write method: public partial class UDPClient : Form { public UDPClient() { InitializeComponent(); } private void exitBtn_Click_1(object sender, EventArgs e) { this.Close(); } pri...
1213 byte By
xargon at 2007-11-25 10:55:16
Hi everyone,I have a data bound ComboBox control on my form which is initialized as follows:Database db = Database.Instance;m_accountsList.DataSource = db.Students.Tables[0];m_accountsList.DisplayMember = "Name"; m_accountsList.ValueMember = "ID";The dataset is edited down the line to ins...
250 byte By
verifier at 2007-11-25 10:55:28
I have a DLL that i'm defining interop access to.<br/>One of the methods in the dll takes a enum pointer. I've defined the enum in c#. But what should I write in the method declaration? (to be able to pass both null and a enum pointer)
Ok, I have my main class called UDPListener which inherits from Formpublic partial class UDPListener : FormAnd in this class, I have a text box I write to named "StatusTextBox"I have another class named "PortHandler" that I want to perform operations on said text box.Is there anyway to get StatusTex...
180 byte By
Sega98 at 2007-11-25 10:55:43
hi i wanted to code like an icq lient with the icq refrence i did that in vb6 with(ICQMAPI.dll)<br/>is ther a way to code a plugin or something that will connect to the icq with C#
Hi,I'm a bit new in learning C# so please bear with me.I am stuck on how to access a child class's public methods in an array of the parent class.Here's what I mean, say I declared an array of parentClass as:private parentClass[] arrayX = new parentClass[2];and declared the first item...
304 byte By
xargon at 2007-11-25 10:56:25
Hi everyone,In the .NET 2.0 framework, how can I set the selection property of a row in a DataGrid control?It seems strange that there is no easy way to unselect or select a row programatically? Specifically, I am interested in unselecting any selected rows.Thanks,xarg...
546 byte By
winprock at 2007-11-25 10:56:35
Well, suppose we have two panel controls, one is A, one is B. B is docked in A and coverd all client area of A. So now, any mouse event(MouseEnter, MouseMove...) will just sent to B not A. So the question is that is there any way to let mouse event on the child control send to it's parent contr...
2815 byte By
BCWarrior at 2007-11-25 10:56:42
HiAlready 3 weeks Im trying to write a programm in Borland C which represents a doubly linked list I've done create append and save to file funcions but I cant realize load from file function.Can somebody help me.My code is very simple:#include <stdio.h>#include <conio.h>#include &l...
128 byte By
Saeed at 2007-11-25 10:56:54
What is the function that let you know what the name of your App (.exe) is and from where it is being run from ?<br/>cheers
927 byte By
dahwan at 2007-11-25 10:57:02
I have only a few days to complete a simple litle program that can record sound from the microphone. It needs to be able to record for at least a couple of hours. The format should be .wav. I also need to make a program that converts .wav files to mp3 files.The problem is that i have no idea how to...
1146 byte By
Rudegar at 2007-11-25 10:57:05
foreach (AutoTextEntry autoText in pl.AutoTextEntries) { if (autoText.Name == ATType) { autoText.Insert(oWordDoc.Application.Selection.Range, ref richText); break; } } foreach (Bookmark mb in oWordDoc.Bookmarks) {...
168 byte By
overture at 2007-11-25 10:57:08
Hi All,<br/>I want to transfer a binary file to a remote object (using .NET remoting) and I was wondering how this is normally done?<br/>Thanks,<br/>Phil
499 byte By
Fraben at 2007-11-25 10:57:17
Hi,i need to draw a grid on a video.I have already tried with Windows Media Player control,but so far i havn't been able to draw on the actual surface of the video (i only can draw on the black bands surrounding the video).Since i am new to using video in apps,i dont even know if i am using the...
Hi,C++ programmer moving to C#. I understand that 'global' is a no-no.. so where is the recommended place to put, for example, a common string table of error messages that all classes for a common application can access? Also my app will make use of enumerations, since there's no h...
970 byte By
Talikag at 2007-11-25 10:57:51
Hi. I started to use the WebBrowser control for the very first time in C#. I'm trying to do something pretty simple: to write a text in a textbox and then to click a button. I used to use the WebBrowser in VB, but the way it works in VB is different than it does in C#. All I succeeded to do was...
986 byte By
gajesh at 2007-11-25 10:58:17
Hello,I developed an application in C# .net. It also uses SQL server as database backend. I created an installer of this application which puts all the dlls,cofig file and related files to C:\MyApp folder. At some point of time the SQL connection breaks and apllication got crashed.The problem starts...
103 byte By
d00_ape at 2007-11-25 10:58:29
I like to do a function in my Form that do a print screen on the whole form and saves it to a jpg-file.
505 byte By
Zaccheus at 2007-11-25 10:58:39
I have a solution file (VS2005/.net 2) containing around twenty projects. All the projects are rebuilt at the same time and should always share the same assembly version number (which is incremented with each release).So my question is, can I take the AssemblyVersion attribute out of the AssemblyInf...
468 byte By
Zolthar at 2007-11-25 10:58:41
Hi All, I've created my own "Perfromance.dll" which registers a counter set with my counters. I have a thread that samples the data for these counters from my appliaction. My question is, can i have any indication whether my counter is being monitored (and thus i should sample the data) or not...
548 byte By
gajesh at 2007-11-25 10:58:45
Hello,I am using config file in C# form application. I have provided UI which takes the data form user and on request saves the data to the "Properties.Settings.Default.MyVal"The problem is that internally(while debugging the application i saw) it knows that the particular data has been modified and...
72 byte By
d00_ape at 2007-11-25 10:58:50
How can I make the Label to be a fixed width and span more than one row?
I have created a custom made .NET Component (in Visual Studio .NET 2003) that contains a regular button and a checkbox. I build a .dll file and then use the .NET Component in a LabVIEW application. In LabVIEW I can get a long list of methods that the .NET Component supports (BeginInvoke(Delegate met...