|
When distributing C# apps, you have to make sure A) They have the .NET framework installed (only newest XP has it installed default), and B) Do they have the right version of .NET installed. I have found that 1.0 and 1.1 executables are not interchangeable (which is a bit dissapointing).
|
|
|
|
|
Do your testers have Flash installed on their machines?
|
|
|
|
|
Yes. Thus far, I have sent it to three people, and it didn't work for any of them.
They all have the same version of the flash player also.
mike c
|
|
|
|
|
i wanna do the following...
make the user enter how many values he/she wanna enter to the application....then i display a table that has (n)
cells equalls to the no. of values that the user enter.....what can i do?
|
|
|
|
|
The solution i am going to tell you is what are you going to do with the source code NOT WITH THE DB, which is a bit more difficut.
let's say n is the number of the columns.
System.datatable newtable = new Syste.Data.DataTable();
string colname;
for(int a=0;i
|
|
|
|
|
i wanna run an exe application from my program....and at the same time i wanna make it invisible to the user...what can i do??....
|
|
|
|
|
Process.Start() is what you want. I don't understand what invisible mean. with CTRL+ALT+DEL a user can see any application and any process in his system.
From Greece:
Dimitris Iliopoulos
dimilio@yahoo.com
|
|
|
|
|
by invisible i mean that the process work at the background.....so the user can't SEE it or INTERACT with it...
|
|
|
|
|
You can make a service. It would run all the time in the background.
|
|
|
|
|
how do you use this? I have a form thats inputting data into a datagrid thats binding it to a dataset and then binding that to xml then exporting html........lol.......alot ain't it.....................i need to be able to start a new paragraph when the user hits return i know i have to use text.replace i just don't know how........................thanks for any help
Da Intern
|
|
|
|
|
|
thanks....so how do i use it to replace a user pressed return so that html can read it
Da Intern
|
|
|
|
|
Replace("\n","<br>")
<a TITLE="See my user info" href=http:
|
|
|
|
|
okay so i can use that to catch a user enter press....like to start a new paragraph
Da Intern
|
|
|
|
|
Then you need to look at the KeyPressed event
<a TITLE="See my user info" href=http:
|
|
|
|
|
|
Zachery wrote:
I read about using SafeNativeMethods.TrackPopupMenuEx(), but VS says it's inaccesable due to its protection level. Any ideas?
Use Reflection to get the MethodInfo and invoke it from there.
<a TITLE="See my user info" href=http:
|
|
|
|
|
|
not that easy
something like this would work
static MethodInfo trkpmnu = null;
...
Assembly ass = Assembly.Load(filename);
foreach (Type t in ass.GetTypes())
{
if (t.Name == "SafeNativeMethods")
{
trkpmnu = t.GetMethod("TrackPopupMenuEx",
BindingFlags.Static | BindingFlags.NonPublic);
break;
}
}
...
object result = trkpmnu.Invoke(null, args[]);
<a TITLE="See my user info" href=http:
|
|
|
|
|
Is it possible to run JavaScript from a windows form?
If so, how do I do it? Maybe I'm missing something, but I haven't found an easy way to do it.
If not, is there an easy way to manipulate IE using .Net?
I'm trying to interface to an online component that is written in JavaScript using a windows form. The JavaScript calls return info about a video server and I need to get the info for the windows app.
Thanks
~ D
|
|
|
|
|
I'm not sure what is wrong with my setup but I can't generate a dataset class of the following schema
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema id="dccollection" xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns="http://diglib.auburn.edu/schemas/dccollection/"
targetNamespace="http://diglib.auburn.edu/schemas/dccollection/"
elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://purl.org/dc/elements/1.1/" schemaLocation="dc.xsd" />
<xs:element name="record" type="dc:elementContainer" />
<xs:element name="dccollection">
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="record"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>
I always get a error CS0542: 'dccollection': member names cannot be the same as their enclosing types
Can anyone else build a typed dataset without compile errors of this schema?
|
|
|
|
|
Jarrett Vance wrote:
I always get a error CS0542: 'dccollection':
Either rename the container or the element....
<a TITLE="See my user info" href=http:
|
|
|
|
|
i am using a mouse move message handler which is passing in System.Windows.Forms.MouseEventArgs e .. the problem is that e.X and e.Y are both relative to the current control which is calling the message handler..
how can i get the mouse position relative to the entire screen, not the control thats calling it? something like clienttorect or something?
thanks!
still a newb.. cut me some slack :P
-dz
|
|
|
|
|
See Control.PointToClient and Control.PointToScreen (there's also variants of those for Rectange s).
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
|
Hello All,
Im actually looking for some general suggestions. I am suppose to edit a datagrid control that has been prepopulated. When I say prepopulated, I mean that we use this third party tool that binds to the datagrid. Here are my problems:
1. Is it possible to get a collection of the column objects at runtime?
2. Can I reorded the columns at runtime?
3. Can I rename the column headings?
It looks like all of these things are fairly simple to do, through the DataGrid.TableStyles object. But I really don't have much to work with other than the grid, because of the binding to the third party control. I guess if someone could direct me on how I can get and edit the columns collection of the datagrid I would be greatly appreciative.
Thanks,
Ryan
|
|
|
|