|
Good evening,
nope, no modifying was needed ,) i just copied the entire code from above, changed my variable names and....... it works fine ,))
1000 THX
Zim
|
|
|
|
|
What do you mean it worked???
Just kidding! I'm surprised because I wrote it from memory, from what I've seen in the documentation, not that I've actually used the code. I guess we all get lucky once in a while!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Hi in my code i need to use header file "intrins.h", but when i compiled its giving error "d:\nrf2401\fx2sdly.h(10) : fatal error C1083: Cannot open include file: 'intrins.h': No such file or directory",
i want to define the code of this header file. In keil user guide its given what kind of prototypes for routines that instruct the compiler to generate intrinsic code, but not given the code. How to add this header file in my program, and where can i get the code.
Thanking you all,
Nice start in new year.
sheshidar patnam
|
|
|
|
|
I'm assuming you not cross-porting this question all over the forums...
You CAN'T include this in your VB/VB.NET app. SInce *.h files are C/C++ files, they will only work in those languages.
You have no choice but to rewrite the appropriate parts of that file you need in VB/VB.NET code. This includes Constants, TypeDef's, Structures, Enums, Funtion Headers (Declare) and any code.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
is there any asembly in vb.net which supports functions of media player for development of media player for pocket pc using .net compact framework
?
or any control which i can use to delvelp media player for pocket pc using .net 2003?
chimranashraf@yahoo.com
|
|
|
|
|
Hello there!
I want to know is there any possible method to be notified when the computer (which is a member in a LAN) is disconnected?
The program is running on the computer, and I want to be notified when the computer is disconnected and connected.
Thanks
|
|
|
|
|
There is no event in the normal sense. You could possibly come up with a WMI event on a change to the instance of Win32_NetworkAdapter representing your NIC. You would have to subscribe to the __InstanceModificationEvent on that instance. It SHOULD be fired when there is a change to the NetworkConnectionStatus of your Win32_NetworkAdapter instance.
EventQuery Class[^]
Your WQL statement would probably look something like:
SELECT * FROM __InstanceCreationEvent WHERE TargetInstance ISA 'Win32_NetworkAdapter'
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thank you! I think this could do what I need.
|
|
|
|
|
Happy new year to all of you - 2006
Can anybody help me.
I want to know how fast printing is possible in vb.net.
either dos mode printing or anything else.
I am using crystal report. I am a beginer to dot net so explain it completely and in such a way so that a beginer can understand.
waiting for a reply from all those dot net gurus.
thank you verymuch
Tony Augustine
India
Tony Augustine
|
|
|
|
|
Are you trying to make the report print on opening
or
Without the dialog box
1. Out of clutter, find simplicity.
2. From discord, find harmony.
3. In the middle of difficulty lies opportunity.
Albert Einstein
three rules of work
|
|
|
|
|
yes without a dialog box. I mean DOS mode printing
|
|
|
|
|
What do you mean by "fast printing"??
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
I mean DOS mode printing in vb.net
|
|
|
|
|
|
Hi All,
I hav prepared a setup of my VB.NET proj.
I had installed it on a client PC but the crystal reports are not running.It is giving error:
"File or Assembly,CrystalDecision.Windows.Forms or one of its dependencies was not found."
Why it is showing this error.What shud i do for running my crystal reports.
hi this ajay bharti
|
|
|
|
|
from google search: vb.net crystal report installer
http://www.vbcity.com/forums/faq.asp?fid=54&cat=Crystal%20Reports
The Solution:
Some basic info first; I was using VB.Net (Visual Studio.net 2003) in a Windows Form. The version of Crystal Reports used was that which came bundled with Visual Studio (this appears to be 9.1.5000.0 according to the reference within VB Studio). The reports used are embedded within the project. Here’s what I did. Apologies in advance if much of this is common knowledge –but it’s usually the simplest point that if overlooked causes the whole thing to go pear shaped and fail to work.
Producing the Deployment Project:
Open Solution Explorer, right click on the “Solution Name” at the top and Add a New Project. On the window that appears, move to Setup and Deployment Projects. Click on Setup Project (not the wizard), put a name for your deployment project (make a note of the location where the folder that the deployment project will be created in) and then click OK. A File System dialog will appear – solution explorer should be displayed on the left of screen. Within solution explorer – right click over your deployment project and select Add – Project Output. Another window will appear – select Primary Output (make sure configuration is showing Active) and click OK. This will result in the detected dependencies being updated & a primary output icon appearing in the deployment project. Right click on the deployment project name again and Add – Merge Modules. Add the following modules.
Crystal_Database_Access2003.msm
Crystal_Database_Access2003_enu.msm
Crystal_Managed2003.msm
Crystal_regwiz2003.msm
VC_User_CRT71_RTL_X86_---.msm
VC_User_STL71_RTL_X86_---.msm
These were the appropriate modules for my application given that I am using VS 2003. You can check your specific needs by going to this site
click here
And finding the environment appropriate to you i.e. VB.net 2003, Full versions of Crystal Reports etc…
Right click on Crystal_regwiz2003.msm and go to its properties. Enlarge the MergeModuleProperties tree and enter the product licence key. This can be found by opening the Help menu on Visual Studio and then opening About Microsoft Development Environment. You will see the 19 character licence code for Crystal Reports in the Installed Products List.
Go onto Build – Configuration Manager . Check that the Project & Deployment Project which appear are set to “Release” and the Build check box for each is checked. Build the Project. If all is well the build should show no errors.
If this has gone according to plan you should now have (in the folder specified in the “location” window given when you added your deployment project) a debug and release folder. The release folder will contain
setup (application)
setup (config file)
an installer package.
The release folder is all that is needed to deploy the application on another machine.
1. Out of clutter, find simplicity.
2. From discord, find harmony.
3. In the middle of difficulty lies opportunity.
Albert Einstein
three rules of work
|
|
|
|
|
To deploy your application, you need to create a setup project and add the necessary merge modules to your application before you build your solution.
Open your Windows application.
In the Solution Explorer, right-click your Windows application solution, point to Add then click New Project.
In the Add New Project dialog box, select Setup and Deployment Projects in the Project Types pane and select Setup Project in the Templates pane. Click OK.
In the Solution Explorer, right-click the Setup Project, point to Add then click Project Output.
In the Add Project Output Group, select Primary output and click OK. Any dependencies, such as the Managed.msm, are added automatically.
In the Solution Explorer, right-click the Setup Project, point to Add then click Merge Module.
In the Add Modules dialog box, select the following merge modules to add to your Setup project and click Open:
Database_Access.msm
Database_Access_enu.msm
regwiz.msm
For a description of these merge modules see Crystal Reports Merge Modules (ms-help://MS.VSCC/MS.MSDNQTR.2003JAN.1033/crystlmn/html/crconcrystalreportsmergemodules.htm). Note If you deploy a Windows application that uses an ADO .NET dataset, you also need to include the VC_CRT and VC_STL merge modules.
In the Solution Explorer, right-click the regwiz.msm file and choose Properties.
In the Properties window, expand MergeModuleProperties and enter a valid license key in the License Key properties box. Note Providing the license key is a mandatory step whenever you deploy a Crystal Reports for Visual Studio .NET application. A license key will be given to you once you have registered Crystal Reports for Visual Studio .NET. You can find the license key in the About dialog box. From the Help menu, choose About Microsoft Development Environment. The keycode is listed in the Installed Products field.
From the Build menu, choose Build Solution to build your application. When deploying to a client or server computer
karim ben romdhane Tunisia
As I grow up I pay less attention to what men say, I just watch what they do.
|
|
|
|
|
What is the different between function and property.
I want to get a clear definition.
Continue...
|
|
|
|
|
A property could be compared to a member variable in the way you can assign a value to it or retrieve it, pending on the read and write access. A function can't do this the same way.
With a property you would get the following
class.prop = value
A function would be
class.setProp( value )
Properties can make your classes easier to understand then when you use get and set functions, however if you want to set more member variables at once a function is easier as they can have more parameters.
|
|
|
|
|
Gerben Jongerius wrote: A property could be compared to a member variable in the way you can assign a value to it or retrieve it, pending on the read and write access. A function can't do this the same way.
With a property you would get the following
class.prop = value
A function would be
class.setProp( value )
Properties can make your classes easier to understand then when you use get and set functions, however if you want to set more member variables at once a function is easier as they can have more parameters.
One more thing, FUNCTION return some value after processing, which should be collected/received/stored in variable.
|
|
|
|
|
I have developed a class and built dll (Dynamic Link Library).
I have a mechanism in this dll to detect whether the user (programmer) of this dll is authorised to use this dll in his own programs or not.
Now if the user is not authorised to use this dll, i want to delete this dll from the code within this dll in runtime (Complicated, deleting itself).
Please tell me how can I delete this dll in VB.NET 2003.
Thanx
Iftikhar Ali
http://www.itajtech.net.tc
|
|
|
|
|
The method is very easy to delete the file.What is ur real
purpose. That time I can help u. u can use the file delete
method ( Please use this function kill() )
Continue...
|
|
|
|
|
My purpose is:
If the user is not authorised to use this dll, i want to delete this dll from the code within this dll in runtime. I have developed a program whose core functionality is in this dll. Now anybody can use this dll to make a software like mine, I want to restrict anybody (except me) to use this file.
Now tell me what you think of my situation?
Please tell me with coding.
Iftikhar Ali
|
|
|
|
|
And if there is a problem with the users authentication? Boom! Too late to fix it... Better hang up the phone to tech support and reinstall the app...again.
This situation is no different than any other IP issue every developer on the planet faces. There is a reason why no other developer on the planet is doing this.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
OK! I stick to this approach of not processing any unauthorised request.
Is it OK?
Iftikhar Ali
|
|
|
|