Use Micosoft Works As My Database?

Jul 11, 2011

I was working on a MS Access database and had it complete, that is until my computer found its way to Windows XP repair and I lost everything -.- Anyways, I don't have Access anymore and I was wondering if I could use micosoft works as my database, or should I just buy MS office again? I got MS works for free, and I saw that I can make a database using that

View 3 Replies


ADVERTISEMENT

VS 2008 Open File (Micosoft Office Document)

May 13, 2010

I have this code which will open a Micosoft Office Document. How can I pass through a file URL into this?

View 6 Replies

Code Works With One Database And Not Another?

Feb 24, 2009

When trying to get this program to filter appointments based on which doctor is selected,the code works fine with a sample database. When I try to use the database I have to, it doesn't show any appointments.

View 5 Replies

[2008] Code Works With One Database, Not The Other?

Feb 23, 2009

When trying to get this program to filter appointments based on which doctor is selected, the code works fine with a sample database. When i try to use the database I have to, it doesn't show any appointments.

Imports C1.Win.C1Schedule
Imports C1.C1Schedule
Imports System.Data

[code].....

View 13 Replies

Setup Works On One Computer, Not Another - Access Database

Jul 1, 2011

I have created a setup using INNO which puts a Visual Basic 2010 Express program on the computer to update an Access database. It works on my Windows XP computer. On the user's computer, which is a Windows 7 computer, the Access database comes up as Read Only when opened. I get an "Operation must use an updateable query" error in the Visual Basic program when I try to create a record. The database has Read Only checked off in it's properties. But when you open it in Access 2010, it says Read Only at the top. (This computer has Access 2010. The database itself is in 2002-2003 format.) How can I get this database to be updateable on the user's computer? It works on my computer/does not say Read Only when opened in Access 2007.

View 3 Replies

DB/Reporting :: Access-database Connection Provider (like Dao Or Ado.net) That Works On A 64 Bit Machine?

Jul 8, 2010

I've created a small DLL, an addin for Autodesk Inventor, this addin saves some information provided by the user and the program to an access(mdb)database.The whole idea behind this is that it allows users to quickly find drawings, assemblies and so on.The DLL works great on x86 systems however it has issues on x64 because I used ado.net.In a attempt to solve it I forced .net to compile it with the target x86 CPU settings.

However using this I'm unable register the dll (C:WINDOWSMicrosoft.NETFramework64v2.0.50727RegAsm.exe /codebase SavetoDatabase.dll )It says its not a proper .net dll file and therefore cannot be registered.

is there any other access-database connection provider (like dao or ado.net) that works on a 64 bit machine? Or do I need to change from mdb databases to another type (like mysql)? because sooner or later all machines its running on will be converted to x64.Or do I need to register the dll in another way?I've also tried to replace the conn.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0 with ACE, with no luck however

View 1 Replies

Auto-generate - Updating Function - Hospital System Which Works With A Access Database ?

Jun 21, 2010

I am using vb to make a hospital system which works with a access database. i am having an issue with the updating function to the database, this time round instead of hard codding the connection i used the connection/data source wizard, in microsoft visual studio 2008 and there fore most of the code has been auto generated for me, which includes the insert, delete and update funtions from what i can find and what i have read vb is ment to also auto generate this which it is not. the funny thing is that i can close the program down and reload it (as long as i haven't opened the database) and my changes are still there but if i go and open the database and it hasn't changed. also i can change the database through the use of the Dataset connections in the datasource tab but not int he program the code ive found and believe that is meant to update the database

This is running off a couple of buttons i also have a update query but have know way of accessing it

Me.Validate()

Me.TblPatientDetailsBindingSource.EndEdit()

Me.TableAdapterManager.UpdateAll(Me.PatientInfoDataSet)

View 1 Replies

Copy Opened Database - Application Gets It's Data From A Mdb-file And The Connection Remains Open As Long A Person Works?

May 14, 2010

The fact is I'm making an application, which users can install by using a Setup file...once installed the data in the database can be updated by a centralized server. To do this, they can insert a DVD/CD-ROM and export the necessary data towards it. I need to do it that way, because some of the users who really need this data will be using stand alone computers.The application gets it's data from a mdb-file and the connection remains open as long a person works with the application (maybe not the best way to do, but I know :-) )...when the user uses the application, he can perform an export...this exports the .ini-file and pictures (which works fine), but he also needs to export the mdb behind the application...I already tried connection.close() before and connection.open() after the System.IO.File.Copy...but that doesn't seems to work.

View 2 Replies

Link From Button - When Sheet1 Is Selected, It Works, But When Sheet2 Is Selected, Not Works

Jan 5, 2012

I have a spreadsheet with this code:

'insert link
sheet1.Hyperlinks.Add(sheet1.Range("P1"), "http://http://www.vbforums.com", "")
the code of the button (ribbon)

[CODE]...

When I press the button, it connects to the web site. when the sheet1 is selected, it works, but when the sheet2 is selected, not works, why? the path is sheet1,What's wrong?

View 2 Replies

.net - Cannot Call Stored Procedure From Code Which Works On Direct Call To Database

May 17, 2011

I connected to the Informix server using RazorSQL, created a stored procedure and tested it, getting the expected answer, so the procedure exists in the database in some form.

I then run the following code:

If ConnectToInformix() Then
Dim cmd As New IfxCommand("dc_routeHasOutstandingQuantity", conn)
cmd.CommandType = CommandType.StoredProcedure

[Code]....

This error does not occur when calling the stored procedure from a live SQL connection.

View 1 Replies

Code That Doesn't Works Runtime But Works Step By Step?

Jun 26, 2010

this is my code:

Dim WB As WebBrowser
WB = GetPage("http://speed.travian.ir/a2b.php?z=" + VillageID.ToString + "&c=" + Type.ToString + "&" + AttackParams)

[code].....

View 9 Replies

.NET Works But Not C#

Feb 26, 2012

I have created lots of applications with visual basic 2008, tested them on many other computers, worked like a charm. After I moved to 2010, all my applications compiled, ran without a problem even on different machines (worst case scenario was that some older PCs needed the 4.0 framework to be installed first). Anyway suddenly I ran into a very weird problem which I cant figure out.I have Visual C# 2008 (Express Edition) on this machine installed and everything ran/compiled flawlessly but when I tried the application on a different computer, it can't even start. It crashes as soon as you attempt to run it and displays that 'Application Stopped Working' error.

I also tried to compile it as Release, then start the exe .. still the same problem. Sorry again for asking this on a VB forum, I just started playing around with C# after VB and didn't know where to ask.Aditional Info: Visual Basic 2008 and 2010 programs work perfectly on the same machines on which Visual C# 2008 doesn't. (I would be glad if some one could at least re-direct me to somewhere else )

View 4 Replies

SQL Works MDB Does Not?

Jul 21, 2009

UserLogin.zip Starting off with a very simple user database with encryption based on [URL]..Updating to an SQL database WORKS FINE using the SqlDB classes. Updating to a 2003 Access MDB DOES NOT - when I use OleDB Classes. They are almost identical. I am getting an error ""Operation must use an updateable query", but all the articles on this do not seem relevant. I need to get the MDB working.

View 3 Replies

.net - COM Object Only Works In It Not C#

May 10, 2011

I have a COM object that works fine in VB.NET, but not in C#. Both projects are .NET 4 console applications. The COM object loads in C#, but the methods don't return any values. Why would it work in VB.NET and not C#?

[Code]...

View 2 Replies

Can't Get It Works In .Net 2003

Nov 9, 2009

I have the following code written in VB. It works in VB 2008 Express But not VB .Net 2003?

View 3 Replies

Completed App Only Works For Me?

Mar 30, 2011

I just completed my app and used advanced installer to make a setup of it, i sent it to my brother for him to test but when he runs it and tries to sign in he gets these errors

[code]...

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.now i think it means that it cant find the mysql connecter and data and stuff but the user shouldn't need to have that right? it should come with the app to make it work for everyone

View 1 Replies

Does ADO Works On VB 2008

Aug 17, 2009

does ADO works on VB 2008 ?i have this error when i tries to run this code

'Item' is 'ReadOnly'

and below is my code:

rs.AddNew()
rs!("pwd") = TextBox1.Text (it gives me the error here )

View 4 Replies

GetScrollBarInfo API Don't Works?

Dec 3, 2011

I'm trying to know if the scrollbars (in my case, the horizontal scrollbar) are showed in the main access window. I use GetScrollBarInfo.There are 2 days I'm, searching info about the function and the parameters, but they are hard to find.I can only find general descriptions of the API.I found some constant values in the ApiViewer 2004.

Here is my API-calling code (in a form class-module):
'vede se la scroll bar orizzontale visibile
Dim void As Integer

[code]......

View 8 Replies

How The Application Works

Jun 8, 2011

I am a final year computer science student and i was confronted with this topic: Design, development and implementation of an efficient Bandwidth management system. i code with Vb.net and microsoft SQL 2008 as my database engine. honestly i've not written such application before, so i need a guide how the application can be built(especially the interface).please am not asking for the source code(if there is any), i only need a detailed flow on how the application works.

View 2 Replies

How Try Statement Works

Feb 22, 2009

im just wondering how the try statement works. what i want to do is this: allow user to enter link eg "calc.exe" then open that link using shell like this: [code] if the user enters a name that the system doesnt recognises it glitches, so i thought i would try the try statement.

View 5 Replies

How ViewState In ASP.NET Works

Mar 1, 2009

I thought I knew how ViewState worked, but I was wrong.I don't understand why the following ASPX page preserves the value typed into the TextBox after clicking on the Button?(ViewState is disabled for both the page and the TextBox.)

[Code]...

View 2 Replies

MapDrive Works Sometimes/sometimes Not?

May 21, 2009

Not sure if this is the right place to post this, but the VB Script forum seemed only for inet apps. This is a script that runs when a user logs onto windows to map network drives.The PROBLEM: When a user logs into Windows on our network, this script runs, but sometimes it does not work. There is no MsgBox and the network drives do not map. However once Windows is loaded completely to the desktop, you can run the script and it will map the drives.

Does anyone see anything wrong with this code?? I did not write it, but am in charge of finding out why it is woring sporadically.

[Code]...

View 2 Replies

SendInput That Actually Works?

Jun 11, 2011

My curse seems to be SendInput... I have tried many sites and code variations and it never works right... it always returns an error. So can someone just whip together a quick class that has 3 public methods, one for keyboard (that takes a Keys data type) one for mouse, and one for Hardware?

View 7 Replies

SetWindowsHookEx Works In Net 2 But Not In Net 4

May 24, 2010

I am developing an application that will engage a bar code scanner and will need to be listening for input even when it is not the active application or from a separate thread from within the application. I can get a handle to the hook when I set the project to compile for Net 2.When I set my project to compile for Net 4 I cannot get a handle from the SetWindowsHookEx.Same code, no changes at all.While obviously I can get a working DLL out of this it really is buggin the out of me.Additionally, if one of my colegues needs to adjust this DLL in the future and does not know, they may compile it in Net 4.I also have no idea what will be the effects if I reference this DLL in another project that is compiled in Net 4.Lastly, I am worried that I may encounter more difficulties like this in the future if I cannot figure out what the difference is.[code]

View 4 Replies

Works In Step Over Only?

Jul 20, 2011

im running this bit of code that only works in step over. i tried running it normally but it didn't work then when i stepped over the code it works fine has anyone ever come across anything like this??

View 1 Replies

Works In Vs 2008 But Not Outside?

Feb 17, 2010

So my vb program works inside of vs 2008 with the code below but when i build it and put it in windows home server it crashes. The problem is with the if statement. If i take it out the program works just fine. the if statement searches the output from the shell.

schedule = "SCHTASKS /Create /SC " & Often & " /RU Administrator /RP " & password & " /ST " & TextTime.Text & ":00" & " /TN " & title & " /TR " & path & " > C:copypalslogs" & title & ".txt"

[Code]....

View 7 Replies

.net - Inheritance Works For First Descendant But Not Next?

Apr 20, 2011

Form1
Public Class Form1
Private Sub But_Bell_Click(sender As System.Object, e As System.EventArgs) Handles But_Bell.Click
MessageBox.Show("Ding a ling")
End Sub

[code]....

Where has the whistle button gone? The class part of the inheritance has works because you can access it via code.

View 1 Replies

.net - Regular Expression Works In VB But Not C#

May 19, 2009

I have the following regular expression for validating a file name:

^(([a-zA-Z]:|))?(((.)|(..)|(. %5D">^/:*?"|<>. |([^/:*?"|<>][^/:*?"|<>. ]))?))). %5D">^/:*?"|<>. |([^/:*?"|<>]*[^/:*?"|<>. ]))?$

I can get it to work in VB.NET but not C#. I can't figure out why it works in one but not the other.

[Code]...

As far as I can tell the patterns are identical in both languages with escaping. When I run the VB code I get a match. When I run the C# code I get nothing.

View 1 Replies

.net - Split Function - How Does It Works

Feb 10, 2012

I'm trying to get split to work.Here is my code

Public Sub CheckUpdate(ByVal FileURL As String)
Dim instance As WebClient = New WebClient
Dim ApplyTo As String = instance.DownloadString(FileURL)
asd = ApplyTo.Split(",")
End Sub

I use it like this

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
NewUpdate.CheckUpdate("version.txt")
Label1.Text = NewUpdate.asd(0)
End Sub

(yeah I know i use it on local txt for now!)So with asd(0) it reads the whole file. If i check asd(1) I get IndexOutOfRange . So how does Split() work?

View 4 Replies

.Net Windows Application - How It Works

Jul 20, 2010

We have an application(.exe), longtime back some developer wrote the code and now he is not with the company. I happend to be support this application. I have to do some modifications in the code.I have a .vb file and .Config file with me. The .VB file is calling a SSIS pkg and doing some dataload and creates some files and it formate the file names what it generates and it send emails to large group of ppl.I have opend the code in Visaulstudio but i do not have any option to debug or do some breakpoints.How can I use this config file?Do I have to add both of them in the project? To debug I need SSIS pkg as well so do I have to add all these 3 of them into my solution?I know where to change the code, after changing the code how can I create a application EXE file?

View 6 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved