|
Hi forum,
i like to implement my own DataTypes.
Sample:
DIM X as PARTNUMBER
DIM Y as LIST (OF PARTNUMBER) .....
where PARTNUMBER is my own Datatype with special checks, like PARTNUMBER must have 8 digits, first DIGIT must be character etc.
I like to use this own datatypes in the same way as the base types STRING, INTEGER, .....
Questions:
1) Implementation as CLASS or STRUCTURE ?
2) Which interfaces are necessary ?
3) Any samples available ?
regards,
bauer
|
|
|
|
|
Problem solved, using TypeConverter is the solution.
|
|
|
|
|
How to read an XML file, Which is stored as a resource file in a dll using VB 6.0.
DS
|
|
|
|
|
There should be plenty on a google search for this topic.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Dear Sir/Mam,
I have 1 question regarding xml file verification in vb
I have 1 application to create a .xml file in vb but after creating
this file I want to check whether is it in correct format or not?
& show to user whether error occured in that file.
In that I have not a xml schema.
How can I do it?
In advance Thanx
Have a nice time
|
|
|
|
|
kripa ostwal wrote: I want to check whether is it in correct format or not?
& show to user whether error occured in that file.
In that I have not a xml schema.
What do you mean by 'correct'? That the file is well-formed, or that the data structure adheres to your expectations?
Attempting to parse the XML file will determine whether it is well-formed. Checking that the data structure adheres to your expectations will be difficult if you don't have a schema to validate the document against.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Sir I just want to check that
Is it in well formed or not? &
If is not in well formed just display where is error?
Hope I will get answer.
Thanking in advance
|
|
|
|
|
Hello,
I got to link my VB.net application to Microsoft Outlook 2000. I have to file/save email messages from inbox to public folders and extract message and attachments to update in database. I am new to Outlook programming, can anyone guide for following issues:
- Can I write Office COM Addin in VB 2005 for Outlook 2000 or I have to use VB6 or macros.
- What information I need to save in database in order to track email message back in exchange server's public folders.
I will appreciate for your help.
Nas
|
|
|
|
|
hi
i work on a project that need to rasterize svg files...
i search the web but can't find any source code or activex for doing this.
anyone can help me ?
also is there a way that show SVG file in browser without plugin installed ?
thanx
|
|
|
|
|
mehdi0016 wrote: also is there a way that show SVG file in browser without plugin installed ?
Obviously not, unless it's a browser that has the plugin by default.
I think the best way would be to capture the screen of a browser that's rendering the SVG.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
i need a commandline converter or dll to work in server side, without showing svg and capture the screen...
|
|
|
|
|
I am trying to copy a working .rpt file, then make a slight change.
Studio keeps giving me an error in the .vb file. I renamed the classname to a unique name.
Public Class CasesReportByStatus
Inherits ReportClass <---- squiggly underlines here
Error 1 Base class 'CrystalDecisions.CrystalReports.Engine.ReportClass' specified for class 'CasesReportByStatus' cannot be different from the base class 'System.Web.UI.Page' of one of its other partial types.
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
|
|
|
|
|
Is this a web project? I had a similar error and corrected it by moving the code to either App Code or a dll library.
If that doesn't help or doesn't fit have you tried creating a new report from the designer and then choose by template, and picking other report?
Crystal is not so much about understanding why as it is doing the same things over and over again until it works.
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
|
|
|
|
|
I'm trying to evaluate the SelectedValue property but it's Nothing in the immediate window. If I put an if statement in and check for nothing it doesn't work. I've tried
.SelectedValue <> Nothing
Not cbo.SelectedValue is Nothing
etc etc etc
Help Please!
|
|
|
|
|
If it is VB6 and I remember well...then
cbo.SelectedValue Not Is Nothing
Hope that helps
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
.NET 1.1.
That's not a valid statement in .NET...thanks for the attempt though!
|
|
|
|
|
If the ComboBox is bound to a DataSource and the Combo's ValueMember and DisplayMember properties are set, SelectedValue returns the value of the item's ValueMember property.
If the Combo isn't bound to a datasource, then SelectedValue returns a string by calling the ToString method of the item that was selected.
To check to see if SelectedValue is Nothing:
If Not myCombo.SelectedValue Is Nothing
There are also the SelectedIndex and SelectedItem properties that could tell you which item was selected.
|
|
|
|
|
Not sure if this is the right forum for this, but I'm having an issue updating an old VBA macro that runs in an IBM Reflections Application. I want to be able to control the exiting/closing of the application. I need to be able to enter some code to log a user off their ID before the Reflections window closes or else it will cause problems when they log back in. Is that possible with a macro?
|
|
|
|
|
You'd probably be better off looking for a forum dedicated to Reflections. It's very unlikely anyone who has used it is going to see your post. I've got no experience with it myself, so I won't be much help at all.
|
|
|
|
|
any help, how can i adjust or change the ruler measurement in crystal report??
thank you...
jyn
|
|
|
|
|
Hi Members,
I have done a product in VB6.0. Consider the product can be a educational software. Iam releasing my product in USB drive like(CD) for all the schools.
I want to protect my product to run, even if they copy from the USB to any other devices like(CD, USB, etc)..
Can somebody help me to avoid this kind of sitution.
Thanks & Regards
Kumaran
|
|
|
|
|
I am not sure what you mean, you want to stop it running anywhere apart from the schools where it is installed, if so I think this is going to be hard, unless you put like a hidden authorisation file on each computer it is used on?
|
|
|
|
|
exactly the same. can you give me some suggestion.
Thanks & Regards
Kumaran
|
|
|
|
|
something simple like:
when your installing your app, have the setup program run your exe with a command line that is only known by you(not documented). this would install some key in either the registery or hidden file. when your app has this commandline it immediately shuts down after installing the key. then when somone executes your app, it should check if this key is present. if not, then say it's an invalid license.
|
|
|
|
|
Have a look at our product "Diamond Licensing". The product page is here[^].
You could use the RegistryStore to keep license data on each machine.
|
|
|
|