|
Good day all…
I am experiencing a problem in using the Form Icon property. I have created a custom icon for my app and cannot display the icon (in the design view) by setting the property using the browse function. It displays properly in the properties view but not on the title bar. I get a default icon (on the title bar) of which I cannot determine its origin. This icon is not the system default icon.
Thank you very much in advance for your assistance
Have a great coding day.
Regards,
Tony D. Abel
|
|
|
|
|
Hi there -
following problem:
i programmed a udp server, that sends serveral udp packets by broadcast in a while loop.
my udp clients take this packets asynchronously.
unfortunately, my server is much faster than the clients, so it sends more udp packets that could be accepted by the clients. i developed a kind of speed synchronysation between server and clients, but anyway it does not guarantees that at some times, there are too many udp packets for the clients to handle. so my guess, the udp packets are stored in kind of buffer on the windows client systems. but that's what i do not want. but i have no idea to either tell the client pc to drop udp packets that are older then e.g. 1 second nor do i know how to tell a udp packet not to be stored in a buffer.
can anyone give me a hint?
thanks.
tom
|
|
|
|
|
Hi
i use this code to retrieve my image field from sql server
(my file isn't picture !!!)
***********
Dim MyData() As Byte
MyData = Ds.Tables(mytable).Rows(0).Item(myfield) 'For Example
Dim K As Long
K = UBound(MyData)
Dim fs As New FileStream("c:\mkh.xml", FileMode.OpenOrCreate, FileAccess.Write) 'in this line get error
fs.Write(MyData, 0, K)
fs.Close()
fs = Nothing
Ds = Nothing
************
but it doesn't work and give me this error in ASP.Net(With Vb)
<<access to="" the="" path="" "c:\mkh.xml"="" is="" denied.="">>
i get this code from microsoft msdn and alot of furoms !!!!
then why doesn't work??
MkhProgrammer
|
|
|
|
|
Hello,
This shouldn't be hard, but I can't seem to figure it out. I have a simple setup project created using vs.net "Setup and Deployment Projects". I added a single dialog to the default UI with 4 text boxes. The property names associated with the text boxes are EDITA1, EDITA2, ...etc.
I build the project and then attempt to modify the default value of EDITA1 from the command line by entering the following:
msiexec /i Setup1.msi EDITA1="My Val"
This runs setup, however the text box associated with this property comes up empty. I'm expecting that "My Val" would appear in the text box.
What am I missing?
Thanks,
-saed
|
|
|
|
|
Hi
can anybody tell me:
how can i make an exe file that get <<cmd parameters="">>?(like c:\myexefile.exe -p1 -p2 ...)
Best Regards
MkhProgrammer
|
|
|
|
|
|
Hi
can i change caption of msgbox buttons?
for example instead of ok i want use "Trust" !!!
Best Regards
MkhProgrammer
|
|
|
|
|
Hi
can anybody tell me that:
1)How can i retrieve a binary field (image field) that stored in SqlServer2000 with Vb.Net and save
it again in my hard disk that i have again that file?
2)can SqlServer itself convert image field to file with its store procedures?
3)can sqlserver run an exe file on local computer from its storeprocedure?
Best Regards
MkhProgrammer
|
|
|
|
|
Hi Evrybody,
I got A question for you all.
At some point in my project i want to automate the creation of my application.There are three source files which need to be processed to create the finished program.
How do i create a batch file which will compile the programs to build the required assemblies and the executable.
i know it has got something to do with nmake command.Can somebody please explain me this command and the procedure.
Thank you
Ankit
|
|
|
|
|
Hi all
I've read in some articles on the web about a new
scripting language called VBscript.net ,
I checked Microsoft web site but they say nothing about it
and actually no body are talking about it clear enough
, so anyone knows what is it?
and what is it for and how can we work on it
-what IDE?- and support stuff about it
& thank u
Z BASSEL
|
|
|
|
|
Greetings!
I have a custom class that has three public properties. I have a control that has a public property that is an instance of that class. I want the property to show up in the property grid with a + sign and to show the class's properties when a user clicks on the + sign.
Fine. No problem. I just set the TypeConverter attribute for the class to ExpandableObjectConverter, and everything works as advertised.
With one small exception.
I have a demo project that has a form that has an instance of the control. I edit the form and set one of the control's class instance's properties. I run the form and click a button that shows what the object's properties are. The message box tells me that the value I entered in the property grid got lost!!! It is not permanently applied to the object on my form!
What do I have to do to get .Net to remember my property change?
Thanks very much!
Rob Richardson
|
|
|
|
|
Hi,
Problems with version 1.1.4322....
I have used this tip How To Repair IIS Mapping After You Remove and Reinstall IIS(http://support.microsoft.com/default.aspx?scid=kb;en-us;306005)
The information is above is not helping because untill now after many
attempts this did not function yet!
Take a look at:
first:
%windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
second:
regsvr32 %windir%\Microsoft.NET\Framework\v1.1.4322\aspnet_isapi.dll
I have good messages that is OK, but untill I could not run ASPNET and nor
WEBService applications under VS.Net 2003/Windows 2000 server com SP 4/IIS
5.0 !
What shoud I do?
Thanks,
Vilmar Brazão de Oliveira
=========================
Vilmar Brazão de Oliveira
|
|
|
|
|
Hi, I fixed the problem pointing the new project to virtual folder created
at IIS Server!
thanks,
=========================
Vilmar Brazão de Oliveira
|
|
|
|
|
Hello there experts!
Im currently working on my first .Net application where i visualize some FEM calculations using VTK(visualiztion ToolKit).
Im using .Net and WINAPI as GUI.
But now I want to build an standalone application and really dont have any ideas on how to do this. So I dont really know what to look for on the web.
I have build an version by setting the build mode to Execute, and I guess that this version requires the dll files if it was to run on another computer? If that is the case I want to make an install/uninstall application that installs these files. Any suggestions?
And finally , if I dont want to use dlls, how do I build an static version ?
Regards
Peter
|
|
|
|
|
Ibana wrote:
And finally , if I dont want to use dlls, how do I build an static version ?
You cannot, you must deploy the .NET framework on the target machine.
Ibana wrote:
But now I want to build an standalone application and really dont have any ideas on how to do this.
You probably want to create a new Windows Application project (also know as a WinForms or Windows Forms application - if your looking for key words). You'll find the relevant type in the project type folder for your language of choice. Also there are a number of tutorials here on CodeProject for getting started.
Ibana wrote:
If that is the case I want to make an install/uninstall application that installs these files. Any suggestions?
You should add a Setup Project (in the Setup and Deployment Project category) to your solution. There are some tutorials on MSDN to help you get started with creating a setup project.
Do you want to know more?
Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Please remember that the force of gravity can go up as well as down.
|
|
|
|
|
Hi, anyone know if there is a tool to search for date/time/wildcards within Visual sourcesafe?
As i tried the vssreporter.exe which is a nice tool. But its lacking of wildcard search. Im looking for a tool which can work with sourcesafe or does sourcesafe has such funcitonality??
|
|
|
|
|
I am building a custom Print Dialog box in VB.net that works similar to Microsoft Word Print Dialog box.
I have problem with these two features –
1. Printer Properties – When user clicks on this button a “Printer Properties” Dialog should be shown similar to what you get from here – ControlPanel >> Printers and Faxes
Right click on any Printer and in the pop up menu select “Printing Preferences” (For XP OS)
(Similar to dialog that opens when you click on “Properties” on the Print dialog of a Word or Excel Application)
I am using the API call to PrinterPropoerties in winSpool.drv, but this give a different Dialog than what I want.
2. Find printer – when user clicks on this button a “Find Printer” Dialog should be shown similar to what you get from here – Startup >> Search >>Printers, computers or people .. >>A printer on the network (On XP os)
(Similar to dialog that opens when you click on “Find Printer” on the Print dialog of a Word or Excel Application)
I am just not able to get these working.
I will appreciate, if any one can help me in solving the problem.
|
|
|
|
|
Hi
I want to save The Text of a MultiLine TextBox into the DataBase alongwith paragraph breaks.And retrieve the same.
How can I do it.
Thanks in anticipation
g
|
|
|
|
|
Unless I totally misunderstand the question, there is nothing special you must do as line breaks etc have their associated character codes and will be saved to a database exactly as any other character such as alpha-numerics/symbols/non-printables.
The only formatting needed on the return of data is when dealing with ASP.NET line breaks must be replaced by <br/> or <p></p> as required. This can be done with either Regex or a simple String.Replace
|
|
|
|
|
It seems we have to install the whole .net framwork before run c# application on WinXP.But even if I install the .net framwork 1.1 package on Win2000,my C# application still cannt run on it.Since C# is better than VC++,why the application developed with it has such a unbearable restriction?
If we have to asked our users to install the .net framwork before run our application? or if there someother way to let our C# application run fluently on WinXP,Win2000,WinMe,Win98?
Thanks
momer
|
|
|
|
|
|
Hello!
I'd like to copy a folder (without files). After creating in the destination folder I want the directory to have the same user-/group-permission like the source-folder.
does somebody have an idea?
|
|
|
|
|
Hi!Dear,
I released my c# project usbtest(Cs) and got the usbtest(Cs).exe.There is no problem when I run it on my own WinXP PC,but when I run it on other's WinXP PC or Win2000 PC,then error occurs:
Win2000:error name:usbtest(Cs).exe--cannot find DLL
error content:can not find DLL mscoree.dll in the appointed path. F:\;.;C:\WINNT\System32; C:\WINNT\system; C:\WINNT;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
WinXP: error name:usbtest(Cs).exe--application error
error content:application normal initialization (0xc0000135) fail.Please click "OK" to terminate application.
Can you tell what makes this error and how to work out it?
Thanks!
momer
|
|
|
|
|
|
Hi!
Sorry for posting in multiple boards, but my post in the C# board gave no replies what so ever, so I thought I give it a try here too.
I´m working on a project where we are making a hook for an other software. Now we have encountered a problem and I would like some help on finding a work-around.
When we are opening a new form in the hook an exception is thrown and the form is destroyed. The exception is a System.TypeInitializationException that says that "The type initializer for "System.Drawing.SafeNativeMethods" threw an exception. -->System.NullreferenceException: Object reference not set to an instance of an object".
I have traced the exception into the InitializeComponent() method and it is thrown when the first component on the form is initialized. This exception does not appere every time, but once in a while. I can not see any real reason for the problem and we are not doing any different when it works and does not.
I have searched the net and found others that have had the same problem, mut I have not found any good solution. The problem seems to be in GDI+, at least that is what how I have understod it when reading posts on other forums..
The application loading the hook is creating appDomains for all hooks so that it can unload them as it whishes, I think that this might be the root of the problem, or? We would really need to show this form, its for configuring the hook, and the main application really needs to unload the hooks now and then, so the problem is a fact.
Is there any good work-around for this? Is there anything we can do to solve this problem without having to make changes in the main application?
All help appriciated!
Regards Mikael
|
|
|
|