|
Hi, friends! How can I do a toolbar like VS.Net ? (it's called coolbar or rebar in C++), I have some library about that , but it's very complex for me , I want to know the keypoint , what is keypoint for coolbar in C# ? thx!
|
|
|
|
|
I am building a simple test application in c# that uses the Flash player ActiveX control to display some data.
I have two Classes in c#:
FooWindow.cs
Foo.cs
I then embed the Flash player in my app in visual studio.
When I compile everything, it creates the following files:
AxInterop.ShockwaveFlashObjects.dll
Interop.ShockwaveFlashObjects.dll
stdole.dll
Foo.dll
FooWindow.exe
This all works perfectly on my machine, but when I send it to other people to test, they get various errors. I am sending all of the files. Do I have to do anything special to distribute an app which uses an ActiveX control?
Thanks for any input...
mike c
|
|
|
|
|
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
|
|
|
|