|
thanks
but it says that active x component is not registered properly,, and i cant register it via svr 32 command
wat to do ?
again thanks in advance
hello
|
|
|
|
|
Reinstall the Flash/Shockwave player. I think their both in one application now. Download[^]
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
thanks you very much
i have installed it and i can drag and drop it on my window form ,,
but can i attatch a flash file with it to play ,,,
coz i did not find any property like that in this active x control
thanks in advance
hello
|
|
|
|
|
That I don't know. You'll have to get that kind of help from Adobe. I've never put a flash component on any form so I don't know what it's object model looks like.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I simply cannot get the form designer to save my property value in the .designer.cs file:
<br />
<br />
public partial class MyClass: UserControl<br />
{<br />
[Browsable(true)]<br />
[DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)]<br />
public string Text<br />
{<br />
get<br />
{<br />
return _text;<br />
}<br />
set<br />
{<br />
_text = value;<br />
Invalidate();<br />
}<br />
}<br />
}<br />
Nothing is saved. Any ideas? VS 2005, .NET 2.0
|
|
|
|
|
Seems it's the name's fault. Anything other than "Text" works just fine. Will investigate further.
|
|
|
|
|
Found an explanation:
http://groups.google.com/group/microsoft.public.dotnet.languages.csharp/msg/e3089235cb94cfe5?hl=en
Really bothersome, since that is probably one of the most often used property names.
|
|
|
|
|
Hi All,
i am very new to .NET. Can anyone explain me the entire process of a source code getting executed. How CLR works? Wat is metadata? And other basic things about .NET Framework and its components.
If not, can anyone suggest me a good article about .NET framework that covers basic things abt it?
|
|
|
|
|
Madhuri Shekar wrote: Can anyone explain me the entire process of a source code getting executed. How CLR works? Wat is metadata? And other basic things about .NET Framework and its components.
That is a lot to explain in one post but I will try to sum it up for you. When you compile your source code, whether it be C#, Visual Basic, F#, JScript.net, or COBOL.NET, it gets compiled down to IL (intermediate language). IL is like the assembly language of your CPU but IL is much more high level. A lot of people say that when you compile your source code that the IL will be the same as if you compiled the same style source code in a different language. This is NOT true. C#, VB.NET, and especially C++/CLI produce slightly different IL. C++/CLI has the ability to aggressively optimize the IL and also do some neat things such as deterministic object deletion. You can imagine a .NET compiler as the front end compilation process of a native C/C++ compiler. The CLR (which contains the Just-In-Time compiler or JIT) as the back end. The CLR will compile the IL into the native code that your processor executes. It will optimize it for YOUR execution environment (CPU, CASH SIZE, OS ...) The JIT of the CLR can produce highly optimized code that can even compete with C++ in some cases.
Metadata is a table that describes each and every type in your assembly (your .exe, .dll, or .netmodual). It desribes the name of all your classes, methods, properties, events ect... Metadata allows for a powerful feature called reflection which allows you to discover and execute an unknown type at run time. You can even construct an entire assembly in memory and execute it at runtime!
There is a lot of information about the .NET framework and CLR. It is an amazing platform and do not allow the doom and gloomers of managed code get you down. Stay loyal to .NET and its compatible siblings (Mono). You do not want to lag behind of this technology because it is the future and it is a bright future.
I highly recommend you get a couple books. CLR via C# is an excellent book and it will broaden your understanding of the inner workings of the .NET framework and the CLR. Although I would not recommend you get it until you get some basic knowledge of .NET and a language compatible with .NET
█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██
|
|
|
|
|
Wat is the difference between interpreted code and compiled code?
Maddy
|
|
|
|
|
Madhuri Shekar wrote: Wat is the difference between interpreted code and compiled code?
Interpreted code is code that is executed by a program. Java script is a good example. Your web browser reads Java script code from a server. That code commands the interpreter to do things. Those things make up the logic of your program, (in this case your web page).
Compiled code is translated into the native code of your processor. It is extremely fast and effeciant compared to interpreted code. Imagine writing a program that will read Java script and follow the orders that the script tells it to do. That would be an interpreter. It is more complicated than that but that is the basic principle.
In .NET your programs are NOT interpreted. They are compiled down to IL. That IL is then compiled to the native code of your processor. It is optimized for your execution environment. .NET code is a little slower than native code but in some cases it can be faster for many reasons. The JIT(explained in another reply to you) can optimize for your CPU and it may contain some multimedia technology that your program can take advantage of. With native C++ you cannot assume that all your customers will be using that processor so you must compile it for an older processor. I have just scratched the surface of the deferences. I recommend you to some research on it.
█▒▒▒▒▒██▒█▒██
█▒█████▒▒▒▒▒█
█▒██████▒█▒██
█▒█████▒▒▒▒▒█
█▒▒▒▒▒██▒█▒██
|
|
|
|
|
I have been thinking about building a scanning tunneling microscope. I am wondering what would be the best way to connect the microscope to a computer (mic, usb, etc.) and if there is a .net class which would allow me to process the microscope input.
Thanks
|
|
|
|
|
USB would probably be the interface of choice, unless you're transferring larger images. In that case, you'd probably want to use FireWire.
As far a processing goes, that depends on what you mean by "processing". In most cases, the .NET Framework doesn't offer anything in the way of image processing. That's usually something that's going to be left up to the developer to come up with since there are soooo many ways of processing an image.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Actually, I was thinking more along the line of having an analog system connected directly to the computer and having the computer measure the voltage or amperage coming off of the input line (x,y,z) and then have a program manually create an image based on the recieved input. For the image processing I'm sure that I would be able to come up with something if I could read a signal.
Do you know whether this is workable or totally crazy?
Thanks.
p.s. Is there anything in the .net framework that allows reading data from a port such as usb or firewire?
|
|
|
|
|
Now you're getting into A/D converters and custom hardware. You'll also have to write the drivers for this hardware (Visual C++ is the best choice!!) and an API interface that your C# or VB.NET app can use to get preprocessed data to display.
Bob X wrote: Is there anything in the .net framework that allows reading data from a port such as usb or firewire?
No, there isn't. This is driver level stuff that is beyond the scope of the .NET Framework.
Bob X wrote: Do you know whether this is workable or totally crazy?
So long as you can come up with the hardware and the drivers, no it's not totally crazy.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I've never actually done driver development. Do you know of a good place to start?
Thanks so much for your help
|
|
|
|
|
I don't know of any myself, but you can probably keep a bunch of these[^] in your favorites. No sense in going to just one place to get all your information!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hi
is there any way so that i could change my screen resolution at run time in c#.net application and than again
back to the previous value
thanks in advance
hello
|
|
|
|
|
user32.dll contains the necessary functions, such as
EnumDisplaySettings() and ChangeDisplaySettings()
good luck with it !
Luc Pattyn
|
|
|
|
|
Unless you're writing a game, changing system-wide settings is considered EXTREMELY BAD PRACTICE!! You're not changing the resolution just for your application, but for ALL applications, system-side.
-- modified at 15:46 Monday 16th October, 2006
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
yes it is ,,
but is there any way to do so ?
thanks in advance
|
|
|
|
|
Then you'd should be doning this using DirectX. DirectX will allow you to change screen resolutions without changing system settings to do it. Changing system settings will alter how the users desktop looks and rearrange any Desktop icons.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
I do some simple programming with Visual Studio.Net. I was downloading some Microsoft security patches and one of them was for Framework 2.0. I have the online version of Visual Studio Express installed now and I am using it exclusively. I was trying to free up some disk space and I noticed that I have 5 different installations of Microsoft.NET Framework.
They are as follows:
(English) v1.0.3705
1.0 Hotfix(KB886906)
1.1
1.1 Hotfix(KB886903)
2.0 (which has the latest security patch from Microsoft)
I also have Visual Studio 2003 installed which I use occasionally.
My question is this. Which, if any, of the 5 above different versions of Framework can I delete and still be able to run Visual Studio 2003 and Express?
Thanks
|
|
|
|
|
(English) v1.0.3705
1.0 Hotfix(KB886906)
I have VS 2003 and 2005 installed. I don't have any .NET 1.0 stuff.
Kevin
|
|
|
|
|
Hi Friends,
I developed a desktop applcation in .NET 1.1 frameework using C#.
The application works perfect in Windows XP or Windows 2000 Server environment, but in Windows 2003 server the application is really slow. The performance is degraded upto 200%. i.e. it takes 4 times more time in Windows 2003 server than under Windows XP or Windows 2000 server.
Can anyone tell me what is the problem and can it be rectified.
Thanks,
Sushant Duggal.
|
|
|
|