473,796 Members | 2,916 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

attach or register db mdf via vb classic

27 New Member
admit i have a sql in c:\scrpit\myscr ipt\database.md f how to Attache (or register) in one instance of my sql server?
All in vb classic, tks.
Jan 2 '07 #1
5 2162
axtens
32 New Member
admit i have a sql in c:\scrpit\myscr ipt\database.md f how to Attache (or register) in one instance of my sql server?
All in vb classic, tks.
Sorry, could you restate the question? What's in database.mdf? What do you want to do with the SQL code? "Attache" or "attach"? Ap ki madri zuban kaunsi he?

Bruce.
Jan 3 '07 #2
sal21
27 New Member
Sorry, could you restate the question? What's in database.mdf? What do you want to do with the SQL code? "Attache" or "attach"? Ap ki madri zuban kaunsi he?

Bruce.
... attach
...mydatabase.m df
Jan 4 '07 #3
axtens
32 New Member
... attach
...mydatabase.m df
Okay, which SQL server are you using? MySQL, MS SQL Server, ... ?
Jan 5 '07 #4
sal21
27 New Member
Okay, which SQL server are you using? MySQL, MS SQL Server, ... ?
sorry for delay...
SQL Express (MSDE)
Jan 11 '07 #5
axtens
32 New Member
SQL Express (MSDE)
isql and osql are command line apps which will accept sql statements interactively or from a script. They'd be my first port of call.

Kind regards,
Bruce.
Jan 12 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

29
2481
by: orium69 | last post by:
hi everyone, i'm wondering if there is a way to have sure that a variable is allocated in the cache, after its declaration with "register"? Tks!
3
1732
by: Antonio | last post by:
Hi everybody, I have created a class library (dll) with "Register for COM Interop" option enabled, but the problem is when I try use this dll in another computer with out VS.NET and I use regsvr32 to register it, this send a message: "LoadLibrary(dllname) failed - The specified module could not be found", what I need to do to use the dll in another machine? Thanks in advance
9
6949
by: ME | last post by:
I have a application that someone else has wrote that runs in a console window. It does not take parameters, but when running it asks three questions and then exits. I would like to write a small utility to attach to the console app, send the necessary answers (typically typing the letter "y" and enter) and then leave. Is this a possiblity for .net? If so what would be the best approach? Thanks, Matt
0
4007
by: david_cheong2002 | last post by:
i have the problem where i try to call the create the server object in my asp page. I already register the dll using .net framework v2 (regasm) and i add this code in my asp. set a = server.createobject("Mobile88Hash.sHa1HaSh") response.write a.GetAuthor & "<br>" response.write a.ComputeHash("appleM0001236A000000014500MYR1") but i get this error message
6
6439
by: eric.goforth | last post by:
Hello, I'm calling a VB.NET 2003 dll that's registered in COM+. I've added a reference to it in a VB6 DLL that I'm calling from a Classic ASP page. Previously I was able to attach to my .NET dll and debug it. I haven't been able to do this in a while and I'm thinking that it must be because I've installed VS 2005 on my machine subsequently. So in my C:\Program Files\Microsoft Visual Studio\VB98 directory I added a file called...
2
1454
by: Paul Prewett | last post by:
Hi there -- ASP.NET 1.1 - Windows 2003 Web - IIS 6 I have an issue where a Null Reference Exception is being thrown on the Register directive line when I'm adding a UC to a page. So I get the big yellow error page, but the line that is highlighted is: Line 3: <%@ Register TagPrefix="uc1" TagName="ui_Default" Src=" .........
0
1078
by: Paul Prewett | last post by:
---ORIGINALLY POSTED INCORRECTLY IN THE ASP CLASSIC FORUM--- Hi there -- ASP.NET 1.1 - Windows 2003 Web - IIS 6 I have an issue where a Null Reference Exception is being thrown on the Register directive line when I'm adding a UC to a page. So I get the big yellow error page, but the line that it points to is:
6
4507
by: theintrepidfox | last post by:
Dear Group I've installed MSSQL 2005 STD on Vista and now can't attach my databases. I've installed SQL SP2 and the SQL Vista Beta Update. The error I'm getting is: Unable to open the physical file <Path to MDF>. Operating system error 5: '''5(Error not found)'''. (Microsoft SQL Server, Error: 5120)
0
1379
by: aboutjav.com | last post by:
Hi, How do I attach the .mdf and .ldf with the SQL Server Management Studio Express? Do I attached all 4 files? MyWebSiteName_log.LDF MyWebSiteName.mdf ASPNETDB.MDF aspnetdb_log.ldf
0
9685
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9536
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10468
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10245
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
6802
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5458
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5582
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4131
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2933
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.