|
Damn your easily insulted.
K I'll give you that the answers given weren't exactly helpful but then again you didn't give people much to go on.
Also CG's response was valid, the first thing you do when your program acts weird is find the code that makes it act weird (process of elimination). Since you'v been programming from the time off assembler you should have known this, done this and found the solution without asking here or at the very least been able to post the code that was making your program act weird.
Instead you opted for the fast way and just ask here and hope somebody somewhere had a way of reading your mind / code and solve it.
Nick Leporacci wrote: Please remove me from this site.
CG doesn't have the admin rights to this anymore so why ask him?
If you don't want to spend time here anymore then just don't log in.
|
|
|
|
|
Tom Deketelaere wrote: CG doesn't have the admin rights to this anymore so why ask him?
If you don't want to spend time here anymore then just don't log in.
I don't think there's ever been a process to 'remove' people.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Well I know Chris has done it a couple times after the person himself asked it in the bugs/suggestion forum.
Don't ask me how tho .
|
|
|
|
|
If your keyboard have not drinked some drop of coffee or whisky, may be that when you seen the reverse-text in your TextBox, you typed "!diputS a era uoY" and you read "You are a Stupid!" ?
If yes, this is not a iussue! At contrary, this means that not only your code is correctly working, but it is also an "Auto-learning" code!
Regards
|
|
|
|
|
Hello everyone,
Could someone point me on the right direction on this.
Objective:
Am trying to persistently populate a datagrid using XML data from a URL
Problem:
Not sure which appropriate class has the method(s) i could use to pull XML directly from the URL so i can work on it locally. The scenario is i need to populate a database with that data from the URL, and keep appending to the DB as need arises then bind my datagrid to the DB. Whether this is the most efficient method is still debateable.
If anyone has some insight or tips working with XML URI in vb.net i'd really appreciate the conversation
Peace & Many Thanks
|
|
|
|
|
You will have to break your problem down into steps first.
First a URL itself is nothing more than a location marker, a link. The URL itself does not contain any XML. Your URL is just telling you where to get the XML data. So the first step is, getting the data (any data) from the location provided by the URL.
Then you can look at the data itself. Is the data actually always XML, or does the location contain more than one file? How is the XML data structured, and is that structure always the same? Do the files have a static name (just data.xml) or dynamic (for example 2009-09-16_data.xml)? Do you need all the data from the XML file, or just parts of it?
Once you have that solved, you can start looking into putting the data you retrieved into a dataset or datatable, which you can then translate into your db.
The last step would be to create a dataset, which you populate from the db, and bind to the datagrid.
My advice is free, and you may get what you paid for.
|
|
|
|
|
Well I have at least accomplished the first step . I was hoping to pull the entire thing from the URL provided by the webservice as XML but that proved to be a Mobius strip, so I used the web request class which returns the entire contents of the XML file, as a data stream (string. yuk I know ). I realize this is potentially a bad move though but this is the only solution i've found so far that gets me past the first obstacle. am trying to reformat the stream now into something i can pump into a SQL database. Also just so you know the structure for the xml files are always the same, but i only need parts of the content in it as updated from time to time.
Anyway I appreciate your insight I'll post back when am past the 3rd step in your reply. This project definitely deserves to be an article and naturally you will be acknowledged
Many thanks
|
|
|
|
|
hi all,
i want to just ask whether or not save credit card info of any customer in database?
|
|
|
|
|
That would be up to your application and customer requirements, not us.
Personally, I think it's a bad idea.
|
|
|
|
|
Only if you are 100% sure its secure - both from internal and external users, encrypted, etc etc. Generally a bad idea.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
I'd say no.
To many posablility's of this going very wrong very fast.
|
|
|
|
|
If you are going to store credit card information in your database, you should be aware that some countries have legal requirements as to what you can and cannot store. Here in the UK the Data Protection Act sets out some very specific conditions regarding credit card details, for example. Failure to comply with these regulations may be a criminal offence depending on your local laws.
Credit card companies will also normally put in place various restrictions as to what you may store and how you store it. Failure to comply with these may result in your company being black-listed by the credit card company.
All in all, it is a bit of a minefield and I would recommend not to do it unless you really, really know what you are doing. If you need to store credit card data, there are a number of companies that specialise in providing secure services for this sort of thing.
More info can be found here:
http://www.owasp.org/index.php/Handling_E-Commerce_Payments[^]
https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml[^]
|
|
|
|
|
I've worked on at least one project that wanted to store this data and I talked them out of it. It's just safer to be able to say 'we never even stored it'.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I would have to agree with the comments made already.
In todays security/information aware evironments, i don't think it is advisable to store the details, unless you absolutely must, and then you better be 100% sure your solution is secure.
If you got hacked and it became public knowledge that the details were stolen, just think of the hassle, and potential loss of business through reputation.
I think the majority of customers now adays would prefer card details on demand payment.
|
|
|
|
|
I build a program for creating image in runtime. It build successfully
but while i m tring to run that program it generates an error
Project-level conditional compilation constant 'VBC_VER = 9.0,TARGET = "library",CONFIG="Debug",_MyType="Windows",PLATFORM="AnyCPU",DEBUG; ^^ ^^ TRACE' is not valid: Character is not valid.
If you can think then I Can.
|
|
|
|
|
Well, this is a build time error. Does that string occur in your code ? Have you tried a clean and rebuild all ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Yes i try it but it does not working fine.
any solution please help.
If you can think then I Can.
|
|
|
|
|
Well, you might like to read my article on how to use google. You might also try to improve your understanding of the build process, what you say, is obviously not true. If it won't run, then, it cannot be building. However, I did type the error message in to google ( my article will remind you that this is a great way to find help ), and found a TON of posts like this[^]
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I'm really confused. I just wanted to create a simple VB program that would work with a very small database and kind of be like a game with different forms.
So what I tried to do was find ways to access a database in the code (like when a user clicks on a button it updates the database then updates the form)
What I found was LINQ.
What I found was LINQ doesn't work like that.
Then I found ways to have the database source like the LINQ tutorial then use
Dim db As New DataClasses1DataContext
db.ExecuteCommand("yay I have SQL access and no LINQ")
however I can't get information from the database this way.
I'm using VB2008 Express
Microsoft SQL server 08 express
I don't care which database I use..
I don't care how I access it. I prefer using SQL cause I've had some experience with it but as long as I can select specific information, update, delete, and insert I don't care.
Can someone point me to a tutorial on how to interface with databases in VB ?
That or show me how to pull a specific piece of information out of the database, 1 cell.
Thanks
|
|
|
|
|
eRoarke wrote: Can someone point me to a tutorial on how to interface with databases in VB ?
"Point"[^]
I are Troll
|
|
|
|
|
Hi,
Need an easy way to create/copy from a container i.e. Tab/Frame to another.
Given a VB6 program with a form with a Tab Control. Each tab has a frame and many controls (textboxes, radio buttons, labels, combos, etc. each of which is a control array. 1 per tab/frame).
We have a need to expand from our current tab max to about 20.
We need a dynamic way of creating a entire new tab, frame and all the other controls (in the control array).
I know that you can add a tab by increasing ssTab1.tabs. And the frame via a Load.
BUT it seams that you need to do each Control array separately. Requiring a lot of coding. (Each control from an existing tab would need to looked at the based on the name to do a Load as
for each CTL in Form
Select Case Ctl.Name
case "ComboArray1"
Load Combo1
case "TextArry1"
Load TextArry1
End Select
We actually have to do this with 3 separate forms.
Is there a good way to create/copy from 1 tab to a new tab?
Please help.
Thanks
|
|
|
|
|
QBTeKcom wrote: Is there a good way to create/copy from 1 tab to a new tab?
Yes, the best way to do this in VB6 is by not doing it in VB6. You can throw a .NET form in there and dynamically add .NET TabPages to a .NET TabControl, using the Interop Toolkit[^] from Microsoft.
I are Troll
|
|
|
|
|
Hi all,
I am trying to protect software that I have written from being pirated (Vb for Compact Framework). Code is designed for Mobile Devices.
One thing that I thought about doing was when a user purchases software they must reigster it first, before it will run.
To register they will receive a number which they punch into the program the program will then write an entry to the windows registry to advise the program this software is licenced.
Every time the program starts up it will check the windows registry to see if it is registered or not before allowing full functionality.
Is windows registry safe from hacking?
Is there a better way to achieve a similar result?
How to generate the key-number?
Are there other ways to implement a protection?
Thanks for help and/or suggestions
modified on Monday, September 14, 2009 5:28 PM
|
|
|
|
|
Well man depends upon the software Licensing that your software licensing policy is PC wise or on Per users
their are several ways to achieve this but depends upon the policy , anyways you can encrypt your registry values as well as if its pc wise then can get the serial number of board or hard drive and can use digital signing as well as
Best Of Regards,
SOFTDEV
If you have knowledge, let others light their candles at it
|
|
|
|
|
Hi,
Thanks for reply
The program is designed to be installed on mobile devices (windows Mobile).
Licensing will be per user, but I have not clear ideas about.
Mobile devices have an unique ID identificator, but I don't undestood how to exploit it, and first of all, how to relate it to a key-number.
I read the Unique Device-ID of my device, but I noted that using different sample-routine, the result is a different (or differentely formatted)ID.
I not found on the web exaustive documentation or articles about.
Ignazio
modified on Tuesday, September 15, 2009 4:13 AM
|
|
|
|