|
Well, try installing the runtime and see what you get.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
hi, i tried directly after u replied me but i did not get it logged in i tried it on my personal PC in home and it gave me the same error .... the size of the program is 2 MB so can i send it to u and u see the error on the run time please
Thanks alot
Hamody
|
|
|
|
|
hi .... thanks a lot for trying to help me ... i found the solution .... there was a missed dll reference needed for that dll .... thanks allllllllllllllllllll
Thanks alot
Hamody
|
|
|
|
|
I draw an image in the form_Paint event handler:
e.Graphics.DrawImageUnscaled(bmp,0,0/*panel1.Bounds*/);
But the image IS scaled! The size of bmp is 2048*1900, but the whole image was drawn in a small area of the form, the width was 800 more or less.
Why scaled? How can I make it unscaled?
|
|
|
|
|
There's a problem with DPI.
Let use DrawImage(bmp, bmp.Width, bmp.Height): it's simper.
___________________________________
Tozzi is right: Gaia is getting rid of us.
My Blog [ITA]
|
|
|
|
|
Hi!!
I am using a datagrid to display my customer details, lik ethe first coloumn is the ID, then the next coloumn is the name, and the third coloumn only contains text that says Update. This column is a asp:ButtonColumn. If the user clicks on this link, it must take the user to the updateCustomer.aspx page and load all the customer details. I know that I can have a method for clicking on the link, but is a querystring the only way of going to the updateAgency.aspx page from the link with maybe the agency ID as a parameter? I would've liked to have the link work as a submit button and have no parameters passed like in the querystring, and maybe have it retrieved like Request.Form("ID"), etc. But how is this possbly, how will it know which ID to take as there are other customers listed as well.
Is there a way of clearing a datagrid?
Regards.
|
|
|
|
|
|
hi i want to capture voice using win32 API in C#,but i am facing some problems,specially, how to pass PtrInt structure in waveInAddBuffer,waveOutOpen can anyone help me,i know how to load winmm.dll but can not capture voice. plz help me i will be very thankful to u,just give me a simple example.thanks
|
|
|
|
|
Hi,
I have placed a list View control & a Tree List View (Custom control obtained from this site for placing the tree & list view together) one below the other for a specific requirement in my application. Now I need to synchronize the Horizontal scroll for both these controls.
Any idea on how to do this is most welcome.
Thanks!
DEJ
|
|
|
|
|
hi,
I've a problem in my soap based application. There are some dll files which were downloaded and added in my dll list. Now the problem is there's an error popping out which is related to the security. i even gave FullTrust to the downloaded dll files and still the problem persists.Since the dll file is not accessed theres a problem in database connectivity.The Connection status is alwalys closed and im not able to Open it.
The Full Trust for the files were given using .Net Configuration 1.1 and even caspol was used.
if anyone has got the solution then do send me the reply.
Exception Occurred:
Additional information: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.TypeInitializationException: The type initializer for "Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent" threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed.
at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
at System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName, Boolean useMutex)
at System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName)
at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances.ReportCounterFailure(String message)
at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.PerformanceCounterInstances..ctor(String categoryName, String counterName, Boolean createNewInstance)
at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.AddPerformanceCounter(String category, String[] counterNames, Boolean createNewInstance)
at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent.Initialize(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds)
at Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.InstrumentedEvent..ctor(String counterCategory, String[] counterNames, Boolean createNewInstance, String eventLogSource, EventLogIdentifier[] eventIds)
at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataServiceEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIds)
at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent..ctor(String[] counterNames, EventLogIdentifier[] eventLogIDs)
at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent..cctor()
--- End of inner exception stack trace ---
at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataConnectionFailedEvent.Fire(String connectionString)
at Microsoft.Practices.EnterpriseLibrary.Data.Instrumentation.DataInstrumentationFacade.ConnectionFailed(String connectionString)
at Microsoft.Practices.EnterpriseLibrary.Data.Database.OpenConnection()
at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(DBCommandWrapper command)
at Microsoft.Practices.EnterpriseLibrary.Data.Database.ExecuteReader(String storedProcedureName, Object[] parameterValues)
at GeneriCo.ProductSystem.DataLayer.NewProductData.GetProduct(String sku) in c:\program files\generico\product system\source code\datalayer\newproductdata.cs:line 31
at GeneriCo.ProductSystem.BusinessLayer.ProductLogic.GetProduct(String uniqueProductId) in c:\program files\generico\product system\source code\businesslayer\productlogic.cs:line 33
at GeneriCo.ProductSystem.ServiceLayer.GetProductService.GetProduct(GetProductRequest request) in c:\inetpub\generico\product system\getproductservice.asmx.cs:line 26
--- End of inner exception stack trace ---
Unni
-- modified at 6:52 Monday 17th October, 2005
|
|
|
|
|
Hi .I want to start a remote computer connected to my computer through LAN .Any idea?
|
|
|
|
|
there's often something in the bios about wake-up on LAN activity, but I don't know how it works.
Rob Philpott
|
|
|
|
|
All yuo have to do is search the articles for "wake on lan" and you'll find these[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I want to get all the processes running on a remote computer connected to that of mine through lan .Any ideas please.
|
|
|
|
|
|
I need to send a signal from one instance of my application to another. What would be the best method to do this?
In Win32 I would use a named event and have a listening thread to pick up when that event gets signalled. But named events dont seem to be available in .NET 1.1
|
|
|
|
|
WM_COPYDATA is the easiest way to do this. Yes, you need to impliment this yourself, I don't think C# has a method that calls it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
You could use remoting for this.
There's a good example on single instance applications on MSDN: Real World Applications Sample, Part 1[^]
There are a few little bugs in there and it's written for .NET 1.0 IIRC (so some channel security settings have to be changed for 1.1), but altogether it's working nicely.
Regards,
mav
|
|
|
|
|
Hello everybody.
I am developing chat application using client and server in file transfer and webcam broadcasting i used peer to peer technology , But there is a nightmare for me !!!
The following is the nightmare!!!
How can i make peers to connect to each others directly even if one of them is beyond NAT's or firewall ?
I heard that i can make a proxy to directly connect both of them to each other but how can i even create this proxy?.
Any one can help me with this please ....
----------------------------------------------------
There is another thing but it is not related to networking.I already designed my server using windows application scenario could this server be installed on a webserver using windows server or even xp server ? cause i already tested it on my windows xp operating system but not any windows server families ?
Any one has solutions for any one of them please help me please !!!!
Mess With The Best And Die Like The Rest
-- modified at 18:58 Sunday 16th October, 2005
|
|
|
|
|
snouto wrote: could this server be installed on a webserver
Do you mean as a web app ? No.
snouto wrote: cause i already tested it on my windows xp operating system but not any windows server families ?
If it's C#, it will work where-ever you can install the .NET framework.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
i mean i already created windows desktop application that can run on any windows operating system where the runtime of microsoft .net framework files is installed but i want to know if i created for this application an installer will it be installed on windows server on website ? or what can i do to make it installs on webservers thank you
Mess With The Best And Die Like The Rest
|
|
|
|
|
snouto wrote: i want to know if i created for this application an installer will it be installed on windows server on website ? or what can i do to make it installs on webservers thank you
You can't install it on a web server. You can install it on any version of Windows that supports .NET, and you can make the installer downloadable from a website, then the user has to run it locally.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
i would to create a file in a temporary volume and with read/write access for my application only.
How can i do?
|
|
|
|
|
Sasuko wrote: for my application only.
You can't. The best you can do is make it hidden, so most people when they browse the file system won't see it.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Look at the System.IO.IsolatedStorage namespace, and see if it offers what you want.
|
|
|
|