473,467 Members | 1,303 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

VB FreeFile() Function in C#?

Is there an equivalent in C#.NET for the VB.NET FreeFile() function?
Mar 18 '08 #1
2 12297
On Mar 18, 3:53 pm, za...@construction-imaging.com wrote:
Is there an equivalent in C#.NET for the VB.NET FreeFile() function?
Well there's always:

Microsoft.VisualBasic.FreeFile()

.... but it isn't much use because in C# you don't supply a filenumber
to the functions which open a file, so you don't need FreeFile().

Look up "How to: Read Text from a File" in MSDN.
Mar 18 '08 #2
On Mar 18, 12:05*pm, Martin Bonner <martinfro...@yahoo.co.ukwrote:
On Mar 18, 3:53 pm, za...@construction-imaging.com wrote:
Is there an equivalent in C#.NET for the VB.NET FreeFile() function?

Well there's always:

* * Microsoft.VisualBasic.FreeFile()

... but it isn't much use because in C# you don't supply a filenumber
to the functions which open a file, so you don't need FreeFile().

Look up "How to: Read Text from a File" in MSDN.
I realized I didn't need it after I posted the request. Thanks anyway.
Mar 18 '08 #3

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

Similar topics

10
by: BadOmen | last post by:
I have made an array in a function in a Class now I need to get to that Array from an other function in an other Class, How do I do that? The Array has no fixed size as it is dependent on how...
2
by: Keith Elkin | last post by:
I'm having a strange problem using random file access and was wondering if anyone is aware of why this might be happening. When I write new records to the file, it seems to take a few seconds...
3
by: domeceo | last post by:
can anyone tell me why I cannot pass values in a setTimeout function whenever I use this function it says "menu is undefined" after th alert. function imgOff(menu, num) { if (document.images) {...
14
Dököll
by: Dököll | last post by:
Hey VB Gang! I attempted to send this previously but failed. behold the introduction of a newbie :-) Anyway, I am hoping t find a shortcut to fixing a problem. Modifying a text reader...
22
Dököll
by: Dököll | last post by:
Hiya, Partners! I have been into it for 12 hours straight this week-end, my son is very unhappy. Looks like I am getting pretty close but need your help, Again. I will post my first...
3
by: BlackMustard | last post by:
hi all, i am having problems using the Trim() function in a program written in VB6. i'm getting my strings from reading a textfile line by line, but regardless of the trim function a couple of...
2
by: Swan | last post by:
I am creating OCX for Http Upload control.can anyone plz tell me why the function UploadFileHTTP returns 0 when used?I am posting my code---- Public Function UploadFileHTTP(ByVal localFileName As...
8
by: mustakbal | last post by:
I am using the code below that was posted by killer42 in order to search for words in a textfile. I added the LCase$ to (S) and (TheString) so case would be ignored. I was wondering if the code...
0
by: mustakbal | last post by:
I am using this code to search with wild cards for strings in a text file. I wanted to improve the application by adding a "Find Next " button that will display the rest of the strings that the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
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...
0
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 ...

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.