Search Results - VBForums

Search:

Type: Posts; User: ovi_gm

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Re: How do I create a settings file for my project?

    Ok, that sound even better. I will try and modify my app this way and see how it works. Thx.
  2. Re: How do I create a settings file for my project?

    It's just a text file where I am writing some info. For example I have some projects organized by year. If a user selects a year and a project from that year, then I want my app to start at that...
  3. Re: How do I create a settings file for my project?

    That works. Thx a lot. It's just what I needed. I just edited the Windows Setting located in the Project Settings and it works fine.

    What about my.settings? Is there another way?

    Cheers.
  4. How do I create a settings file for my project?

    Hello everyone,

    I have a question that I searched on the internet but I couldn't find an answer. I have a project that is installing in Program Files and I have a text file in that folder that I...
  5. Re: I want an alternative to SQL/MySQL Database

    Thx FunkyDexter for your comment. You are right in every aspect of what you said, I just realized it. When you first think of how to solve a problem you never now how deep it actually goes and you...
  6. Re: I want an alternative to SQL/MySQL Database

    Thx techgnome for you advice. Could you please give me some arguments as to why I shouldn't use the above method? The idea behind the multiple db (each project with its own db) is because I have...
  7. Re: I want an alternative to SQL/MySQL Database

    Thank you crmfghtr for VistaDB. I will take a look and see how it fits. Yesterday I changed some of my code using Access database. I am doing everything by code (connections, datasets, datatables,...
  8. Re: I want an alternative to SQL/MySQL Database

    Probably. Anyway, I tried a lot of things, all the possible connection strings, I got a lot of different errors, read a lot of forums, a lot of problems and solutions... and to be honest I'm tired of...
  9. Re: I want an alternative to SQL/MySQL Database

    I mean LAN. I did what you were saying but I couldn't make it work. Anyway, I didn't like the idea of SQL Server in the first place because it is too complicated for what I need. Besides, I am not a...
  10. Re: I want an alternative to SQL/MySQL Database

    What about Local Database (SQL Server Compact 3.5 database for local data)? As I understand there is no need for SQL Server to be installed. Is it easier to work with? And can I put it on a server...
  11. [RESOLVED] I want an alternative to SQL/MySQL Database

    Hello everybody,

    Here is my problem. I developed a application for my job using a SQL Database (SQL Server 2008R2). It works ok on my local computer but this is only because I have spent many...
  12. I can't connect to a MySQL Database on a web server

    Hello,

    I am trying to connect to a MySQL database that is on a web server using VB 2010 and I can't do it.

    I have a clean Windows 7 install, clean Visual Studio 2010 Professional and MySQL NET...
  13. Re: How can I get the physical path ofa a database?

    No no no. I didn't make myself clear. So this app manages the projects of a company. For each project that the company develops it gives a code and a name to the project. No each project has got...
  14. How can I get the physical path ofa a database?

    Hello,

    I have a question regarding the physical path of a database. How can I get it in a string?

    I have this app that has many different projects in it. Each project has a given code. What I...
  15. Replies
    13
    Views
    398

    Re: [RESOLVED] Connection.open - is it a must?

    Well, then I'll leave it like this. It seems to work very well. I get no errors until now. Thank you very much for your support.

    Cheers!
  16. Replies
    13
    Views
    398

    Re: [RESOLVED] Connection.open - is it a must?

    Hello,

    I have to come back with a question although I marked it resolved. As Funky Dexter said it's a mystery how it works. Well I want to ask you where should I look and see why it works? The...
  17. Replies
    13
    Views
    398

    Re: Connection.open - is it a must?

    One more quick question. As I understood, it is possible that certain operations over the database could not accomplished right away. So as I read on msdn, they say: "The Close method rolls back any...
  18. Replies
    13
    Views
    398

    Re: Connection.open - is it a must?

    Ok. I got it now. Well I really appreciate your help, thx a lot. I will make some changes now to my code accordingly and see how it works. My app is almost done, I just have to make it work ok over a...
  19. Replies
    13
    Views
    398

    Re: Connection.open - is it a must?

    Thanks techgnome for your answer. So, from what i understand, your suggestion is to use something like this:

    [CODE]
    Dim newRec As New tableName With {.......}

    Con.open()...
  20. Replies
    13
    Views
    398

    Re: Connection.open - is it a must?

    Hm. I'll check the code and see where it happens and come back... When should I use the con.close() command?
  21. Replies
    13
    Views
    398

    [RESOLVED] Connection.open - is it a must?

    Hello,

    I have this app with database and I have a question regarding the connection. Please note that I am a beginner and this is my first database app.
    I created my db in SQL Management Studio...
  22. Replies
    12
    Views
    379

    Re: SQL Server Compact or SQL Server 2008R2

    Thank you jmcilhinney for your answer but I said this because in the properties window of my mdf file, inside vb, there is this string:

    "Data Source=.\SQLEXPRESS;AttachDbFilename="H:\Visual Basic...
  23. Replies
    12
    Views
    379

    Re: SQL Server Compact or SQL Server 2008R2

    Ok. Thank you for your suggestions. Suppose I stick to the SQL Server 2008 R2 solution. Will the following steps be correct? Is this the right way of thinking?

    1. Choose a PC to be the server....
  24. Replies
    12
    Views
    379

    Re: SQL Server Compact or SQL Server 2008R2

    Ok. I have to clarify something. I think I used the word users in a wrong way. What I meant is that there will be 4 people using the application and the 4 of them will access the same database. So I...
  25. Replies
    12
    Views
    379

    Re: SQL Server Compact or SQL Server 2008R2

    I am not using the express edition. I am using the full edition. Regarding the rights I would like all the users to have read/write access to the database. What I wanted to say is that I couldn't...
  26. Replies
    12
    Views
    379

    Re: SQL Server Compact or SQL Server 2008R2

    Regarding my needs... it is an app for small businesses. If it will be accepted in my company (because I am doing it for my workplace) it will be used by 4 computers, so 4 users. I was thinking that...
  27. Replies
    12
    Views
    379

    SQL Server Compact or SQL Server 2008R2

    Hello,

    I have developed my first application using database and I choose to work with SQL Server Express 2008R2 and mdf database. Please note I am doing this or fun and I am pretty new in...
  28. Re: Problem with selecting a menustrip using ALT key

    Ok, thank you very much. These are very good ideas and I will implement them right now.

    Cheers.
  29. [RESOLVED] Problem with selecting a menustrip using ALT key

    Hello,

    I have this form with a menustrip, a combobox and a textbox. I want to use the combination of keys ALT+D in both the combobox and the textbox to insert a special character when typing. This...
  30. Replies
    9
    Views
    546

    Re: How do I get the last inserted row's ID

    Ok, I took a look at the documentation you sent me. I must also say that this is my first database application and I am using a SQL db.

    Now, the way I am adding my new records is as follows:


    ...
  31. Replies
    9
    Views
    546

    Re: How do I get the last inserted row's ID

    Ok,

    Thx a lot. I'll study those solutions and implement the right one. But would you think that my second post could work for this? I mean, I have already did this in my code where I am assuming...
  32. Replies
    9
    Views
    546

    Re: How do I get the last inserted row's ID

    I was wondering. Would it be safe to just make a list with the ID numbers in each table and consider the maximum ID to also be the last new item inserted?

    Because the new items also get the...
  33. Replies
    9
    Views
    546

    How do I get the last inserted row's ID

    Hello,

    Ihave a sql database and each table have a ID column that has "Identity Specification = yes". The data is loaded on the screen within a datagridview and I have a separate form where I can...
  34. Re: How do I wrap a text line in a combo

    Thx. That's exactly what I was looking for.

    Cheers.
  35. [RESOLVED] How do I wrap a text line in a combo

    Hello,

    Does anyone know how I can wrap a textline in a combobox, for longer records?

    I did some search on the internet but I couldn't find any working solution to this problem.

    Thx.
  36. Replies
    3
    Views
    266

    Re: Custom combobox not working

    Hello,

    The "New" code is my mistake. So I changed this...

    I tried to set the fore-color of the combo in the leave event of the combobox but this doesn't work. I guess it's because it is a...
  37. Replies
    3
    Views
    266

    Custom combobox not working

    Hello,

    I have another problem with my custom combobox. The ideea is to have different color for the items but after I leave the combobox I want the text to turn black.

    So i have a combobox set...
  38. Replies
    0
    Views
    269

    DataGridView is too slow

    Hello,

    I have this problem with a data grid view that reads some records from a database.

    I am using tableadapter.fill method to fill the DGV. The problem is that it loads too slow. What I mean...
  39. Replies
    1
    Views
    329

    Beginner String Connection Question

    Hy everybody,

    I have this first app that uses a database and so far I have managed to write all the code and it works fine. It uses SQL Server 2008 R2 sql database.

    I want to publish my...
  40. Replies
    5
    Views
    411

    Re: Simple database backup

    Ok, I got it. Thank you. I will read more about it and see how it's done with the SQL Server Management.

    I just wanted to be sure that it's unsafe to just copy those files.

    Cheers.
Results 1 to 40 of 174
Page 1 of 5 1 2 3 4



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.