|
thks - have updated the original post
|
|
|
|
|
how can i view HTML content in .NET Compact Frameworkplease help me,thanks
kevil
|
|
|
|
|
In the deployment project of my application, in the file system property, I have added a "custom folder" which I want to use for application data that may or may not be different than the application folder. Both "application folder" and my "custom folder" have the same default location. The "application folder" has a read-only dynamic property called TARGETDIR and my "custom folder" was given a dynamic property of DATADIR.
If all is left alone, the setup will create all subdirectories in the right place.
However, how can I allow the user to specify and alter the DATADIR dynamic property by specifying a different directory other than the default location in the same way as it is done in the user interface for the application "Installation Folder" during setup?
moitani
|
|
|
|
|
How will you create a 64–bit application using Visual Studio .NET 2003?
|
|
|
|
|
You won't. It's not supported.
Only the .NET Framework 2.0 supports targeting 64-bit platforms. And, no, you can't use the .NET Framework 2.0 with Visual Studio.NET 2003.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
actually you can use 2.0 net framework I have it running nicely on my computer and i am using sp2 xp and visual basic 2003.net
|
|
|
|
|
You can use the .NET Framework 2.0 to RUN your application if it was compiled under VS.NET 2003. VS.NET 2003 will NOT use the compilers in .NET Framework 2.0. If you don't have VS.NET 2005, the only way to get your code compiled under .NET 2.0, without using a 3rd party IDE, is to comple it from the command line.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
You had your answer on the other forum.
DON'T CROSS POST
only two letters away from being an asset
|
|
|
|
|
Hi,
I'm developping a .NET Assembly in 2 versions. This Assembly is used by 12 applications. These applications are installed on the same machine. Some of these applications need the Assembly version 1.0 and some need the Assembly version 2.0. Can someone tell me how to tell the different applications which version of the Assembly they must use and how to install the different versions of the Assembly so they can be bound by the CLR.
-- modified at 4:23 Friday 25th August, 2006
|
|
|
|
|
create publisher policy to identify different version of assembly
|
|
|
|
|
I've already created a publisher policy file but it seems that the application doesn't use this file. Is there anything special to do to make the application use it???
|
|
|
|
|
|
hi all
I want to make chat program using System.Net.Sockets namespace
Chat examples work fine in local area network...
But I couldn't get them work on internet.
I have DSL router..
I setup these on adsl:
NAT(Virtual servers):
Protocol: TCP, External port: 399 Internal Port:399 Internal server IP address: 192.168.1.2 (which my computer's local IP)
am I missing something?
|
|
|
|
|
If you are trying to communicate between your computer and another computer through the internet, your internal IP wont resolve to the other computer. You may need to add your internal IP into your Router's DMZ. Another thing that may cause problems is your firewall may be blocking the port you are listening on (399)
|
|
|
|
|
thank you for your reply...
My mistake was; I was trying to connect from same computer to same computer... Anyway it's working now from another computer to my computer
thanks
|
|
|
|
|
hello!!
when i run crystalreportviewer in my vb.net application i get the error
"the .net assembly CrystalDecision.Windows.Form could not be found
could anybody tell how could i resolve this problem???
|
|
|
|
|
And cross-posting acrossed multiple forums is also considered very rude...
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
hey
i m creating a web appln in c#. recently i implemented session var in my website to enhance security.. but the problem is that after publishing this website on IIS(inetpub\wwwroot..), i opened it from my browser.. the sessions are not at all working..
even after entering correct username and pass.. i m redirected to login page again and again..
on the other hand when debugging the application, it works perfectly well.. m using visual web dev exp 2005
please help
Kunal Piyush
|
|
|
|
|
Please don't cross post.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
I have recently upgraded from vs2003 - vs2005. I had made some changes to my application and i had simply sent our
customer an updated exe file. When they pasted the file into the installed directory and replaced the existing file
they got an error message appear
"The application has failed to start because the application configuration is incorrect. Re-installing the application may fix this problem"
So, i re-generated the deployment project in vs2005, and tried to run this. when this ran it came up with a warning (see below) and then prompted me to downloadload and install .net framework 2.0, i went through this process and completed the install and the install of my application. but when i went to run my application i got the "The application has failed to start because the ....." error again
has anyone come across this before ? or any ideas on whats wrong ?
Warning which appears when deployment program is run
MICROSOFT SOFTWARE SUPPLEMENTAL LICENSE TERMS
MICROSOFT .NET FRAMEWORK 2.0
MICROSOFT WINDOWS INSTALLER 2.0
MICROSOFT WINDOWS INSTALLER 3.1
Microsoft Corporation (or based on where you live, one of its affiliates) licenses this supplement to you. If you are licensed to use Microsoft Windows operating system software (the "software"), you may use this supplement. You may not use it if you do not have a license for the software. You may use a copy of this supplement with each validly licensed copy of the software.
The following license terms describe additional use terms for this supplement. These terms and the license terms for the software apply to your use of this supplement. If there is a conflict, these supplemental license terms apply.
By using this supplement, you accept these terms. If you do not accept them, do not use this supplement. If you comply with these license terms, you have the rights below.
1. SUPPORT SERVICES FOR SUPPLEMENT. Microsoft provides support services for this supplement as described at www.support.microsoft.com/common/international.aspx.
2. MICROSOFT .NET FRAMEWORK BENCHMARK TESTING. This supplement includes the .NET Framework component of the Windows operating systems (".NET Component"). You may conduct internal benchmark testing of the .NET Component. You may disclose the results of any benchmark test of the .NET Component, provided that you comply with the following terms: (1) you must disclose all the information necessary for replication of the tests, including complete and accurate details of your benchmark testing methodology, the test scripts/cases, tuning parameters applied, hardware and software platforms tested, the name and version number of any third party testing tool used to conduct the testing, and complete source code for the benchmark suite/harness that is developed by or for you and used to test both the .NET Component and the competing implementation(s); (2) you must disclose the date (s) that you conducted the benchmark tests, along with specific version information for all Microsoft software products tested, including the .NET Component; (3) your benchmark testing was performed using all performance tuning and best practice guidance set forth in the product documentation and/or on Microsoft's support web sites, and uses the latest updates, patches and fixes available for the .NET Component and the relevant Microsoft operating system; (4) it shall be sufficient if you make the disclosures provided for above at a publicly available location such as a website, so long as every public disclosure of the results of your benchmark test expressly identifies the public site containing all required disclosures; and (5) nothing in this provision shall be deemed to waive any other right that you may have to conduct benchmark testing. The foregoing obligations shall not apply to your disclosure of the results of any customized benchmark test of the .NET Component, whereby such disclosure is made under confidentiality in conjunction with a bid request by a prospective customer, such customer's application(s) are specifically tested and the results are only disclosed to such specific customer. Notwithstanding any other agreement you may have with Microsoft, if you disclose such benchmark test results, Microsoft shall have the right to disclose the results of benchmark tests it conducts of your products that compete with the .NET Component, provided it complies with the same conditions above.
|
|
|
|
|
I have a fire alert application that for no reason what so ever should be closed, this you can fix by adding the following in the Form_Closing event e.Cancel = true;
But how do I hide the closing X icon?
|
|
|
|
|
The 'x' icon on the upper right is the control box. If you go to your form style, under windows style, change the ControlBox property to 'false'. Although i'm not sure if the user can still close the window by pressing alt-f4. You may need to intercept the key event for this.
-Steve
|
|
|
|
|
When you disable the closing event then it don't care if you alt-f4... only thing that can close it is to kill the process in Task Manager.
But thanks .. for the reply
|
|
|
|
|
Is there any way to regain an instance of a class that has already gone out of scope?
For instance:
Private Sub cmdGo_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdGo.Click
Dim i As Integer
For i = 1 To 100
f = New frmTest 'f has been globally declared as a Form
f.Show()
Next i
End Sub
This code instanciates 100 instances of a form and displays 100 forms.
The instance almost immediately goes out of scope due to the for-loop.
Should I now run f.close, only the last form is closed understandebly, but how do i reference the other 99 forms? Garbage collection doesn't destroy them because they are still active on the screen.
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann
|
|
|
|
|
evilnoodle wrote: but how do i reference the other 99 forms?
By storing them somewhere you can get at. Add them to a collection of some sort, then iterate through the collection.
|
|
|
|