473,569 Members | 2,700 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Loading data saved with the VB6 PropertyBag

Hi all,

I'm in the process of porting an old VB6 app to C# and this app used the
PropertyBag to persist some of it's information into a database. They have a
considerable amount data that I need to continue using with the new app. I
don't need to persist it in the same way, but I do need to be able to load
this data. I've been searching the net for any information on how to do this
and found nothing. Any help in pointing me in the right direction would much
appreciated.

Nov 25 '05 #1
0 2109

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2856
by: J?rgen Jensen | last post by:
I have made an asp-page. When pressing Submit, the form loads a javascript, for evaluating the input values. The asp-page is being reloaded from the javascript, to save the input-values. The evaluation-script is running fine, but when the ASP-script has to save the value in txtFolder, the record is being added, but the saved value from input...
32
3201
by: Neil Ginsberg | last post by:
We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC linked tables. I recently created a new set of tables for the app, and users are complaining that unsaved data is being lost when they move to a new record. This seems to be the case when there are multiple users. When there is a single user using it, we don't seem to...
0
3660
by: Som sally | last post by:
Hi I'm writing a windows user control in C# and 'm not able to retain the change made to the usercontrol public properties. If i drop the user control in the designer, change it's property values and run the program the properties are reverting to the default values. In VB6 there was a convenient way of storing values in PropertyBag...
3
6015
by: HKSHK | last post by:
Hello everybody, I am trying to re-write a VB5-ActiveX-control in VB.NET. I googled for "PropertyBag in VB.NET" and found that the only way is serialization (and writing the properties into a file). Now I wonder... a) Do I have to include this file with my application? b) If I use one control in various applications at the same time do...
6
2282
by: Galen Somerville | last post by:
My vb6 user control used a propertybag. A typical form would use 6 of these user controls. The setting of one never affected the others. Now I'm supposed to use serialization to replace the property bag. But, the examples I have show saving and retrieving from a file. Since the file is explicitly named, in the samples, how do I keep the...
13
1973
by: PW | last post by:
Hi, This is bizarre. I've check and rechecked the spelling, cut and paste the name of the form (when trying to rename the form) and the control yet I still get a parameter prompt when the form runs. I've even deleted the control and started over. This is the code for the recordsource of the form: "SELECT * FROM...
1
2839
by: FreeXenon | last post by:
OK, I am having a lot of problems loading an XML file via a Server-Side JavaScript based ASP page. Below is the code that I am using as well as the different methods of loading the XML file and the associated errors that I am getting from the process. =( Now the original XML file is generated from a Java based Lotus Notes Agent. I have tested...
2
3746
by: JoeC | last post by:
I have successfully saved and re-loaded binary data but I am having some trouble with some data: I wrote a binary graphics object and it takes data in a BYTE form. Here is the data I have and how I save then load it: static BYTE bits = {0xff,0xff, 0x00,0x00, 0x7f,0xfe, 0x7f,0xfe, 0x7f,0xfe, 0x7f,0xfe, 0x7f,0xfe, 0x7e,0x7e, 0x7e,0x7e,...
6
3692
by: Andrew | last post by:
I am using an XmlSerializer to save some settings and I have discovered that when a string is saved containing a cr+nl it is replaced with just a newline when loading back in. I am no expert with XML and I wonder if there is a option I have to change to fix this. I have written some simple test code to show the problem. Can anyone please...
0
7612
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7924
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8122
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7673
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7970
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5513
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1213
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.