Search results

  1. P

    Whats wrong with retrieve data?

    Hi, I'm trying to retrieve data from ms access database. Here's the simple code Private mADOConnect As New ADODB.Connection() Private mRS As New ADODB.Recordset() mADOConnect.Open("Provider=Microsoft.Jet.OLEDB.4.0;" & "Data Source=C:\pr\HQ.mdb") mRS.Open("item", mADOConnect...
  2. P

    Can't find Data Synchronization methods

    Hi :) I've been looking for different data synchronization (in database) methods in both networked and non-networked environment for some time now...Also tried google without much success :( Much appreciate if someone could provide any source/s where I can get information about different data...
  3. P

    Which database is suitable for small DISTRIBUTABLE applications?

    Hi :) I like to make small simple applications (VB.Net) for everyday use. So, far I've been only using MS Access because I heard that if I use anything other database like mySQL then its not possible to distribute the applications as one setup since mySQL will require a seperate setup and...
  4. P

    How to store large data in a database?

    Hi everyone :) I am trying to create a small application where I can store interesting articles and later retrieve those by selecting the topic. But I can't figure out how to save large data in a database since ms access only allows a max of 255 characters per field. Can anyone please tell me...
  5. P

    How to return a custom object to the client application?

    Hello again :) I have a question which is supposed to be simple but I can't seem to get it right :( I have a web service (vb.net using visual studio 2005) with a method named getinfo(). I also created a class (Person) that has three attributes (fName, lName and DOB). Now, the method...
  6. P

    How to access DIFFERENT web services at RUNTIME?

    Hello again :) I was wondering how I can invoke different web services during runtime? For example, the client first contacts a web service (which is accessed through a design-time generated proxy) then the web method returns a URL for another webservice wsdl file as string. So, using this...
  7. P

    Where to place variables ?

    Hello :) Is it a good idea to declare variables right before using it or should we declare all variables at the beginning of the code (like in C) ? Whats the standard or good practise ? Thanks. Edit : Perhaps I should've put this question in the VB.NET section. (dunno what's happened to me...
  8. P

    Is it possible to create a class with a component built in?

    Hi everybody :) I was wondering if there was a way to create a class with vb components built in. For example, I like to use the timer component in my applications (which displays a real time clock). But everytime dragging the component in my forms and using the same code in the...
  9. P

    How to discover web services dynamically?

    Hi everybody :) I have just started looking into web services using Visual Studio 2005. I can create and consume a simple web service using VB.Net. Now I'm trying to create webservices like for an online store where it has branches in different locations and each location has their own...
  10. P

    How to refresh combo-box

    Hi again, Its kinda URGENT! :o So, please respond asap if you can... I have some text boxes in my form that takes data and saves the data to the database. There is a combo box at the bottom of the page that loads data from a specific field of a database. Now, when I enter and save new...
  11. P

    Use the 'X' button of the form

    Hi, :) I was wondering if it is possible to reassign the 'X' button of a form (top-right). For example, lets say I have a button or menu option to exit the application. When a user clicks that option, the application performs a specific routine and exits the aplication. However, I don't...
  12. P

    Can't create a simple login form :s

    Hi again :) I was trying to add a login form for my application. I thought it was a very simple task since I did it before with vb6. But VB.NET does not seem to work like that (I wonder why!?). The main form (which is the startup form) of my application has nothing but a menustrip which is...
  13. P

    Please help - Loading a datagrid from relational database

    Hi everyone, I know this is a very easy question for many of you people but I've been trying to solve it since yesterday and can't figure it out. First, I have two tables 'Student_Module' (fields are StudID and ModID) and 'Module' (fields are ModuleName and ModuleID). Say, I have a combo...
  14. P

    Creating 3 tier Application with VB.NET

    Hi everybody, I am trying to build a very small application with VB.NET. Basically, It will have a couple of forms to input some data and an Access database to store the information. I've trying to implement the '3-tier-concept' for the first time. I believe I understand the concept. But I'm...
  15. P

    How to insert into a relational database ?

    Hi everyone, Can anyone tell me please how I can insert a new record in a database if it has many tables linked with each other by primary/foreign keys ? Can I do it with one sql command or do I have to use the INSERT statement for every single table its linked to ? Thank you :)
  16. P

    Too many boards perhaps...

    Hi everybody, I'm a newbie here and this is my very first post here so I hope nobody gets me wrong by this post. First, a bit about myself. I am moving to .NET programming (VB.NET to be perfect with some database stuff...both Access and MYSQL) and I've joined this forum as I believe (after...
Top Bottom