473,396 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Access 2002 - Datei umbenennen

Hallo NG,

ich versuche mich schon seit einigen Tagen daran eine Datei per VBA
umzubenennen.
Und zwar möchte ich eine Textdatei in Access importieren, nur leider hat
diese nicht die Endung *.txt sondern *.stat
Jetzt suche ich eine Möglichkeit diese *.stat Datei (hat Textformat) in
*.txt umzubenennen.
Leider bin ich am benötigten Quelltext gescheitert. Kann mir da jemand
Hilfestellung dazugeben, hat jemand sowas schon einmal gemacht. Oder wie
füge ich eine nicht *.txt Datei mit Textformat in Access ein. Dann brauche
ich ja nicht mehr umbenennen.

Danke fürs lesen und antworten.
mfg Maik
Nov 13 '05 #1
1 5366
Hi, Maik

This is the wrong newsgroup for postings in german language.

Answer to Maik in german :
----------------------------
Du bist hier in einer englischen Newsgroup gelandet, deutsche NG's findest
Du entweder unter
microsoft.public.de.access oder
de.comp.datenbanken.ms-access
ich versuche mich schon seit einigen Tagen daran eine Datei per VBA
umzubenennen.


Versuche das Umbenennen mit folgender Funktion :

Function RenameFile(strOldFile, strNewfile)
'Aufruf z.B. mit: Call Rename("C:\test.stat", "C:\Test.txt")
Name strOldFile As strNewfile
End Function

Gruss
Jens
Nov 13 '05 #2

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

Similar topics

1
by: Peter Nikonevich | last post by:
Hallo! Ich habe eine Menudatei, die in alle Dateien eingebunden werden soll, die das menü anzeigen sollen. Die Menüdatei bindet ihrerseits 3 Javascript-Dateien ein die auf verschiedene...
2
by: Andrea Bauer | last post by:
Hallo, wie kann ich so eine Datei unter .Net schreiben C++ oder C#. Bitte mit Funktionsaufrufen. Vielen Dank. Grüße Andrea <Product> <ProgramNumber>2</ProgramNumber>
1
by: Marcel | last post by:
Es soll aus einem Access 2002 AddIn (VBA) heraus eine Excel-Datei geöffnet und möglichst direkt gedruckt werden. Der Dateiname der Excel-Datei ist bekannt. Zuvor oder dabei, sollen VBA-Daten in...
13
by: Noesis Strategy | last post by:
When I ordered my new laptop, Sony didn't offer Access 2003 in its bundles. Recently, I have begun to design Access databases using an copy of Access 2002 from my previous laptop. It works fine,...
9
by: Rob | last post by:
Scenario: O/S: Win XP Professional Back-end: Access 2002 on network server I have an Access 97 application, in production on our network, that takes appoximately 5 minutes to process monthly...
12
by: Dennis Schulz | last post by:
hi alle, ich bin blutiger C Anfänger und hier ist mein Versuch ein Strukt in eine Datei zu schreiben, bzw anzuhängen. Leider wird die datei zwar angelegt aber nichts reingeschrieben. Besonders...
1
by: BMP | last post by:
Ich habe hier eine PHP Datei und bräuchte mal eure Hilfe. In der Datei wird beim Aufruf das /Import Verzeichniss eingelesen und als Dropdown ausgegeben. Nun kann man unter dem Dropdown einen Button...
1
by: Thomas Bock | last post by:
Hi NG wie kann ich eine PDF-Datei ohne Acrobat lesen, insbesondere Textblöcke? Vielen Dank Thomas Bock
0
by: Sebastian | last post by:
Hello I develop my applications in Access 2002. My development system is running Windows XP SP2 and I have Microsoft Office XP Developer. Microsoft Office XP is at SP3. I used Inno Setup (great...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
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,...
0
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...
0
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,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.