|
Good to see schools are still teaching the tried and true bastardized water fall method...
-
Drew
|
|
|
|
|
I use this code in my form:
CrystalDecisions.CrystalReports.Engine.FieldDefinition fd=new CrystalDecisions.CrystalReports.Engine.FieldDefinition() ;
but in compile time this error issue :
D:\Documents and Settings\Hadi\My Documents\Visual Studio Projects\mph2\frmRptStudAns.cs(232): 'CrystalDecisions.CrystalReports.Engine.FieldDefinition.FieldDefinition()' is inaccessible due to its protection level
please help me.
|
|
|
|
|
Hello,
is it possible to get to know, how the user moves the mouse if the cursor is at the edge of the display? I mean, can get some delta values of the mouse (not the absolute values that are limited to the dimensions of the display)?
best regards,
Heiko
|
|
|
|
|
I am writing a windows forms application using VS2003 and C#. I have enabled visual styles and when the form displays all controlls except for the NumericUpDown displays with the Xp style, the numericUpDown controll displays as the std 3d look. have tried to search for an answer with no luck. Does any body have an answer to this problem.
Thank you in advance
|
|
|
|
|
|
How to deploy C# .Net application using visual studio .NET 2003?
1) I am using deployment project (setup project) of VS .Net, it provides me a .msi file (windows installer). when i build,its taking all my applications(deliverables) within .msi file. But i need to take the applications from the given path and deploy it at the time of running windows installer. Is there any way?.
2. How to extract CAB files using windows installer?
3. Is there any way to create windows installer using C# .Net other than using deployment project of visual studio .net?
Kindly help me by providing solution to these..
Thanks
Rajasekaran
|
|
|
|
|
The VS IDE Installer provides a very limited set of tools to author Windows Installer packages. To create more advanced customized setups you either need an authoring tool like InstallShield or you will haved to manually author the MSI yourself. Microsoft provides an SDK and tools that allow you to manually author MSI packages, but it is very difficult and time consuming.
You can download the SDK here:
http://www.microsoft.com/msdownload/platformsdk/sdkupdate/default.htm?p=/msdownload/platformsdk/sdkupdate/SDKInfo.htm[^]
Beyond that, you will just have to study the SDK documentation. There is no simple answer to your questions other than no, there is no other way to author MSI packages available in VS.NET.
Robert
|
|
|
|
|
i'm making a remoting application using inteface-based programming but when i creat a tcpChannel on the server after some time it is no longer exist so the client can't connect to it again
if any one know about TCPChannel Life time and how to increment it please mail me
thnx alot
|
|
|
|
|
Inside the MBR object, you can try
ILease lease = (ILease)InitializeLifetimeServices();
lease.InitialLeaseTime = TimeSpan.zero;
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
I'm looking for a tutorial on how to dock forms within other forms.
Example.
Menu > Tools > Enable Form1
The form then appears, within the current form.
I hope I'm being clear. Thanks.
|
|
|
|
|
Hi,
The following link has some information about docking.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon/html/vbtskDockingControl.asp
But i guess you can solve your problem by creating an MDI application.
Thanks
SGS
|
|
|
|
|
I am very confused by .NET ASPX page processing model. I am using C# and creating simple database data dependant dynamic form with bunch of generated buttons.
After that I am catching server side processed standard onclick events on these buttons and in onclick event function creating some other dynamic elements such as textboxes and other buttons.
When I am pressing on new one created buttons generated outside page_load function - page reloads and these elements (of course) is lost! Now I am using some sick mytype in Session wich holds my dynamic cotrols and restores them by page_load. I suppose this is not the recommended way to do things (but for now) it works very well, maybe there is some logic and normal way to hold dynamically created elements in page. And I am wandering why .NET guys destroys page instance on each event?
|
|
|
|
|
The Page object has a bool IsPostBack property. Put your form loading code inside an "if" statement only if IsPostBack is false.
|
|
|
|
|
i had done a system and set it in a .msi install package. to run setup in silent install mode, i have type command in command prompt like below:
msiexec /i myinstallationname.msi /qn
how to when we start install and then the above command will automatic call without manually key in in command prompt??????
can this done by creating a .bat file or .inf file?? if can, please let me know how to create and write.
Thanks.
|
|
|
|
|
To create a batch file just create an empty file with .bat ending (in the same folder as the msi) and copy your command into it.
|
|
|
|
|
Hi.
I have some proplem about Program Pinging. I develope program windows form pinging using microsoft.net framework It can to run under user administrator. But if I login to be user domain it can't using function pinging and appear error below
System.Net.Sockets.SocketException: An attempt was made to access a socket in a way forbidden by its access permissions at System.Net.Sockets.Socket.SendTo
Thank anybody to help
|
|
|
|
|
|
When I try the webservice sample code "hello world" in the Visual studio .net 2003, I seem always have problem on authetication or authoraztion. I just remove the "'" according to the explanation in the comment to change serveral line of comment into code. and Press F5 to debug it . or try http://localhost/webservice1/webservice1.asmx in the brower.
At first, I got an error "Access denied". I thought it may be ananymous access from ASPNET account or IUSR-XXX need administrator authorization. I put them into administrator group. But it does not work. I also put debugger users group and VS developer groups have administrator authorization. It does not work. I got some other server-side error as "The Web server reported the following error when attempting to create or open the Web project located at the following URL". I also change some setting on dedault web site of IIS as application protection to Low and put ASPNET account or IUSR-XXX, debugger users group and VS developer groups all have administrator authorization . But I do not know why. As the explanation in the help or book, it should not be so difficult.
My environment: window 2000 server, IIS 5.0 Visual studio .Net 2003.
My question is for the simpliest webservice. If i only try in the IDE, what
do I have to set?
My email address:Bretthlin@hotmail.com or linhchnn@yahoo.ca
llllhhhh
|
|
|
|
|
Please try put this code into file web.config and run again
<authorization>
<allow users="*" />
</authorization>
lekchin
|
|
|
|
|
I have one problem I don't know how to refresh the panel
(pane.Refresh()-don't work).
I drawing on panel like:
Graphic g = panel2.CreateGraphics();
g.DrawLine(new Pen(Color.Blue), 100,100,200,200);
....
How to Refresh, please help me!
|
|
|
|
|
Hi,
Try this instead.
private void panel1_Paint(object sender, System.Windows.Forms.PaintEventArgs e)
{
Refresh();
}
Hope it helps.
Cheers.
Regards,
Chua Wen Ching
Visit us at http://www.necoders.com
|
|
|
|
|
Doesn't it seem like this will be the order of events?
* (Your code) Create graphics object
* (Your code) Draw on pane
* (Your code) Refresh pane
* (WinForm code) Clear background (thus removing your previous drawing)
* (WinForm code) redraw pane
It might be that your drawing is getting painted over when you refresh your pane.
You can create a delegate and add it to the pane.Paint event, then draw using the supplied graphics object.
-
Drew
|
|
|
|
|
I would like to call methods that are written in visual c++ 6.0 from the .NET environment.
If you know how to do this, please explain in the most simple way.
And if you can also send me a sample I will be glad and thankful!
thanks in advance
sheli
|
|
|
|
|
If you have a com or com+ file, you can simply add a reference in VS.NET to that file (VS.NET will automatically create a RCW, a runtime callable wrapper for the file which is like a sort of proxy between the unmanaged code and the managed code) and use it in your .NET code.
Gidon
|
|
|
|
|
Can you please send me an example of such com or com+ file?
thanks
sheli
|
|
|
|