|
Nope. So long as you don't do anything with them in 2005, there's no problem.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I am trying to get convert rtf to plain and then plain back to rtf if the data in the text box has changed...
thanks,
tom
|
|
|
|
|
Hi im using crystal repor to print students info
but i need like to filter the student id from xxxxxx to xxxxxxx(2 text boxes)
to print if someone can help me that would be great thanks in advance ....;P
sam
|
|
|
|
|
|
Please submit your answer. That will help others.
Sreejith Nair
[ My Articles ]
|
|
|
|
|
Hi, please submit your artical on Code Project. I really need this and as many more member may be require this thing.
Waiting for your positive response
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
Ok sure well the thing is i got my answer from a sample i found its very nice it filters the reports by a number or two numbers
Dim a As New Form2
Dim Fltr
Fltr = "{StudentInfo.StudentID}>=" & Trim(txt1.Text) & " and {StudentInfo.StudentID}<= " & Trim(txt2.Text) & ""
a.CrystalReportViewer1.SelectionFormula = (Fltr)
a.Show()
do u know how i can attach my project i dont know the link
sam
|
|
|
|
|
It is nice that you upload your code on Code Project.
There are two way:
First is upload your code on Code Project. Follow this link on the main page of Code Project: http://www.codeproject.com/info/submit.asp[^] and just follow the guildline. You can easilly upload your code. When you successfully upload your code then send me your artical url.
Second is send me your code through email and then i upload it on for you. [ you name must mention on the artical and author]
Anyways, Thanx and please do it.
|Muhamad Waqas Butt|: )
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
Hi there well my situation is that i have two textboxes and i need to write the text in them to a file but whenever i try to write the first time it works but the second time it writes over the old text i need to know how to write the other data into new lines
if u have an exapmle or a sample that would be great thanx....
sam
|
|
|
|
|
MSDN is your friend. FileStream[^] class, with examples of Appending text.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I'm interested in a file-watching VB program. I've downloaded several programs that use FileSystemWatcher. While this is a very handy utility for checking changes to a directory, I would like an event to be raised when a particular file is used(opened or accessed). The file may used be several times during a day.
I'm experimenting with certain File properties like GetLastAccessTime and SetLastAccessTime. A boolean property would be much simpler.
Any ideas as to how to go about this?
Cam
|
|
|
|
|
What you want can't be done with the FileSystemWatcher. The only way you'll be able to see other processes open files is if you write a kernel mode driver extension to NTFS. This is FAR from trivial, requiring a 5th degree black belt in NTFS internals and driver development.
For a hint of what's involved, search for FileMon at www.sysinternals.com.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi All,
I have a VB.Net (not that it matters), managed application component (COM+, Serviced Component) where I need to be able to do some fairly simple initialise/deinitialise stuff at the process startup and shutdown, so it is available for all object instances thereafter and cleaned up after shutdown. My component is managed, and the startup/shutdown subs would be calling some unmanaged functions, but they're extremely simple - they're only method calls to an independent server running on the same machine.
Is there a really simple way of doing this using the normal methods immediately available to me, like through activate/deactivate?
Note, I would really rather not have to do this through the IProcessInitializer interface unless I really have to. I've had IProcessInitializer implemented, but never got to a position where it worked, as well as it being more effort to configure which is disproportionate to the simple thing I want to do.
Thanks a lot in advance,
David
-- modified at 11:54 Wednesday 21st September, 2005
|
|
|
|
|
Hellow Every one,
Please tell me how to create mutltilines Crystal Report in Visual Studio .Net 2003 Crystal Report Desinger Panel.
Like this:
Column 1 Column2
________________________________
Dummy ID1 Dummy Data Line 1
Line2 of Column2
Dummy ID2 Dummy Data Line 1
Line2 of Column2
___________________________________
Please help Me. If you not getting my point, inform me.
|Muhamad Waqas Butt|
waqasb4all@yahoo.com
www.sktech.freewebspace.com
|
|
|
|
|
i want to download a free library for ftp over SSL and i search a lot but found none.if is this type of library can be downloaded from a site then
please tell me the url.
|
|
|
|
|
I'm wondering if anyone has seen a control for .NET either C#, VB.Net that is the equivilent of the Listview that instead of providing rows in the Downward direction, provides the concept of a Row Horizontally.
I need to provide a list of things for the user to edit, but I want to provide it across the screen.
If i'm just using the listview incorrectly I'd also like to hear about that.
If anyone has any suggestions I would greatly appreciate it.
Thanks
|
|
|
|
|
Do you mean vertical rows? Would the listview's Icon View do the trick for you or do you need to show more data than just an icon and a bit of text?
...Steve
|
|
|
|
|
Hi.. I need to write a deployment program to first uninstall an old version of the application and then deploy the new version. I would also want to add the functionality for the application to check for any updates of the application that will be hosted on me web site.
The application has been developed with VB 6 (SP6).
Is there any one that can help me with the problem?
|
|
|
|
|
You could use the Deployment wizard that comes with VB6.
If you also wish, you could develop a custom Installer class in VB.net that can perform your custom step, but i'm not sure of the hybrid.
You could get WISE/Installshield as well.
|
|
|
|
|
Thanks Paul. The other problem is to be able to test for a previously installed version of the app and then uninstall it from within the deployment procedure.
|
|
|
|
|
OK, you have various options:
First of all, in reference to a previous post, VB.NET Installer classes do not run until the very end of the installation, so they are not useful for uninstalling a previous app in most cases. Plus you are developing in VS6. No insult intended to the previous psoter, but I would eliminate that "option" as unviable.
Starting with viable options:
The only really easy one is to tell the user they need to uninstall the previous application before they install the new one. Not a very polished approach, but it is the only one that does not require CONSIDERABLE effort on your part.
Installshield is a powerful installation application, but it has a steep learning curve. You would still have to manually write the script code to uninstall the previous version. Plus it is very expensive. Wise is also very expensive. If you are going to invest in professional grade installation tools, go with InstallShield. It is a little more than Wise, but if you are going to shell out the bucks for either, go with the top of the line.
You have several other options:
1) If you are a decent programmer in C++ you can write your own bootstrapper. The "Setup.exe" included when you build a setup in VB6 with the P&D Wizard is a bootstrapper. Basically a bootstrapper is a pre-setup program that is written in C++ taking care to only use core system functionality - Windows APIs that you know will always be available on any systenm running Windows. In the case of VB, the bootstrapper installs the VB Runtime - that is essentially because the setup you actually see when you run a VB6 setup is also itself written in VB - it's called "Setup1.exe". If the VB runtime is not already installed, a VB setup will not run. So the bootstrapper installs the VB runtime then launches Setup1.exe which then actually runs the install.
If you write your own bootstrapper, you can replaced the standard Setup.exe with your own, written so that it looks for the installed app, uninstalls it, bootstraps the Setup1.exe, then the rest of your install is the normal VB setup. There is really only one difficult part of writing your own bootstrapper - it has to be able to extract the VBRuntime files from the CAB. You may be able to find someone who has already written code that will extract files from a setup cab, but personally, I've looked tried to do this myself and ran out of patience with it. The documentation on working with windows setup cabs is pretty damn obtuse.
The option just described requires a pretty fair amount of work.
2) You can avoid doing this by writing a C++ "pre-bootstrapper" that does nothing but removes the existing app, then launches the regular Setup.exe bootstrapper. This is a much easier task - no cab extraction needed. But this works only if you can "hide" the regular Setup.exe in a subfolder. A user sees "Setup" that's what they'll click to run the setup. So your "pre-bootstrapper" needs to be named "Setup" or something like it. If you try to fool the user by renaming the standard "setup.exe" to something else, it no longer works - I've tried this. If you are distributing CDs, this is not a problem - just put your VB Setup.exe and it's components in some non-obvious subfolder. If you are using a zip, they could always unzip without using the kepp folder name options. So to be prepared for this, you would have to rename Setup.exe to some spurious name, name your pre-bootstrapper to something like "SetupMyApp.exe" so you don't have to worry about moving stuff around to avoid a name clash, then write code in your prebootstrapper to rename the other file to Setup.exe before you run it.
This is your simplest C++ option if you are at least a fair C++ programmer and you don't mind having to rename or move stuff around if needed.
3) To avoid C++, you can modify your Setup.LST file to instruct the Setup.exe to run some VB program other than Setup1.exe. This VB program would have to find the old app, uninstall it, then run the regular Setup1.exe to install the new app. This is doable, and in my opinion probably your best option if you want to use VB6 code to uninstall the other app. There are some tricks - you have to tinker with the setup.lsts and you have to get the files in the right places, and you have to configure a command line correctly to subsequently run Setup1.exe. But this is a good option.
One drawback is your VB6 program that does the uninstall will never be uninstalled itself. So, OK, lots of setups leave file sbehind. You can modify your Setup1 to get rid of this file if you really want to.
4) You can modify the Setup1.exe program. It is written in VB6 and VS installs the source code. So you can add code to Setup1.exe to find the old app and uninstall it. This is also doable - but the source code is also a bloody mess, and hard to work with. This is a good option in some respects - you have the least amount of tinkering around with manually changing files etc. The downside is the Setup1 code is friggin' Chinese puzzle.
Whew! I'm tired. Are you?
This is not easy, and I will not even attempt to start on the "check for updates question." That is an application in itself. And usually that is done by the app itself, not during the install.
If you want to tackle any of the above, you can send me specific questions that are not likely to be answered on the forum.
|
|
|
|
|
Hai,
I want to access the excel data from vb.
Any one know the procedure about that kindly help me.Its very urgent
|
|
|
|
|
THOUSANDS of examples can be found, if only you tried to Google for Excel VB.NET[^].
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi there,
I am developing a web application where i need to display different character like chinese malay etc, and english iam using this code snippet to dispay the native character
<%@ CodePage=65001 Language="VBScript"%>
<%
Response.CodePage = 65001
Response.CharSet = "utf-8"
and it working fine but the problem is when i try with english character and save and retrive data for the database some character r missing like if i keyin "testing" or "123test" save and retrive i get output "esting" "23es" but the chinese character r working fine can any body suggest me the solution iam using window 2003 server with iis 6.0 for my development,
the most amazing point is i try the same code in my desktop which as win xp with iis 5.1 and it working perfectly no missing character....
regards
cyus
|
|
|
|
|
<dummyspit>
Far too many people are logging incredibly basic questions on this board and/or asking for help without doing any requisite research.
My time and responses will be directed to those that I decide deserve to be answered from now on.
Demonstrate that YOU have done something to assist yourself and I'll provide help accordingly.
It's just not worth it otherrwise.
(That feels better )
...Steve
-- modified at 1:38 Wednesday 21st September, 2005
|
|
|
|