o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

Understand Code -

Dim lRet As Long
Dim buffer As String * 100

lRet = GetPrivateProfileString("System", "Setting", "FAC_C", buffer, Len(buffer), sfile)

lRet return value is 5

sfile is \\server1\microsoft\code\app\export\application.ini

What is GetPrivateProfileString does?

 

[2005] Code Coverage -
I am using VS2005 Team Edition that includes Code Coverage. I understand the principle behind it (looking for code that doesn't get called etc) However, I don't understand the way it is implemented or the help files. Anyone used it/understand how it works?


"Public Keys" -
Hello, I don't understand the whole public key, digital signing, all that jazz... Can anyone elaborate on how it works? I hear people talking about they need to protect keys so much, I don't understand this. Is it a key for encryption? (I'm not a complete idiot. I underst


Sockets, Streams and Asyncronous, non-blocking TCP communications -
I am having a problem understand how the socket class works. The VB help (as extensive as it is) just seems to tell me what steps to do to do certain things but really doesn't seem to give much of a conceptual overview of what these objects are so that I can understand how to use them


Video tutorial to understand 3tier -
i have been looking at video tutorials and they seem realy easy to understand, now i want to understand how to implement a 3 tier is there a video somweher i can download ? i tried looking at learnvisualstudio.net i could not see the appropriate video...


Vb code re-engineering -
Hi, I have a project already completed in VB. I have to convert the project to j2ee platform.In order to do so i first have to understand the vb code,COM ,DLL's etc.I am completely new to vb and have to do this out of no choice.There are like a 50 components and to understand 1 compo


Help me with this (only professionals) -
You understand my problem when you test my code. Please send it back working so i can understand how to do it. Thanx in advance.


My Theroy # 2 -
Every person has a certain kind of fire wall that stands before the information that a person belives. A certain times (in the day) you lower your fire wall, and at others you rase it. the more smart a person is, the more fire walls they have, and after the stuff passes the fire wall,


vb.net cf scribble pad -
Hi all Im trying to make a simple point and draw in one colour only vb.net application for my ppc. But whilst i can achieve this in full blown .net 2 i cant get anything close to work in cf. Basically ideally im looking to scribble into a picturebox and save the result as a bmp file.


Why use dataset item vs dataset in code -
Hi, I hope the title is enough to explain what I am trying to understand. From what I understand, you are able to add a dataset item by right-click -> add item -> dataset which will give you a dataset that can be used in the entire project. Why should I use a dataset like


DAll And BLL Template -
Hi All i have Posted a thread looking for an Explanation about Dal and BLL and i understand it. i but i need to see a code Template like Skeleton. to understand it more, please post a code for me or an article that uses Dal and BLL for a SQl database windows application. Thanks


Help w/ VB6 and DX-x -
Hey all - I'm trying to learn how to program using directx. I've read a few tutorials but all the functions of DX confuse me. I don't understand the backend structure of how images are put on the screen and the need for all the constants, so I don't understand the code as well and can


Understand SQL result -
In which way I can understand my select command did not find any record in table. Thanks for help.


vb calculating -
hi, i'm new to this... i kind of having a problem to calculate things up... i know that multiplying but putting into code is hard... for example: if a 20 minutes call during a daytime charge cost is $1.40, since it cost $0.07 a minute... yet, i can't figure out how to code it right...


File Searching using Dir confusing...please read and help!!! -
Hi guys, I searched thru this BBS about searching thru subdirs and I didn't really understand the code that people wrote. I saw various examples by 'Aaron Young' and 'Kedaman', but I didn't understand exactly what went on in those code snippets and how to implement it in my progr


Am I stupud Where's the help -
Hey everybody. I am definitely new to VB 6.0 and I am trying to find a really good book or some other resource(video,cd,etc.) to help me understand how I can really understand VB. I have the Learning Edition and the online course and MSDN stuff that comes with it and I also have gone t


De-Compile a dll -
Is there a way to decompile a DLL? If not is there a way to open the file where someone would be able to "understand" what the compiled code meant? This is an issue because I am developing a program that will be accessable to the internet. If the dll becomes compromised


simple MFC app -
could someone post the most basic barebones MFC app possible? i don't have any books that explain MFC and i don't wanna buy any. Besides i already understand a little bit of MFC and i understand C++ syntax, im just not sure where to begin a program with MFC thanks


You do not understand! -
Down loan Viva Bonk now and you will understand!


Can't understand Mod operation. -
hey guys! here are some thing a cant seem to understand: 1 mod 3 = 1 2 mod 3 = 2 can u help me? thanks.


Down to basics -
Please forgive my ignorance beforehand. I've never before messed with network coding. Can someone help me understand how exactly information gets from one computer to another through the internet. Here's an example of what I don't understand. I understand how information goes bet


Please make me understand the code -
ci_byte = pt_byte Xor key_byte ' XOR encrypt pt with key. I didn't understand the meaning of "pt_byte Xor key_byte" . The answer of the statement is coming as 80. How? I am using the code in an encryption tech. Pl. help me


I still dun understand -
ok. to narrow down my question. I am trying to find ports 1000-1002 to check if they have been opened or not and then close them if they are open. i dun understand how a timer could help me with that


sortedList object, what is that -
what is meant By SortedList object what is it and what is it used for , i saw a demo for some code but i didn't understand what a sorted list is useful in. can any1 help in explainaing the basic headlines, so that when i start reading in this issue, i will be able to understand w


Question for coders who migrated from VB6 to .Net -
I'm aiming this question at coders who had no previous OOP experience prior to moving to .Net. I have now been working on .Net on and off for 8 months now. I still don't feel comfortable with the OOP structure of "my" code. I find myself constantly trying to do things I w


help on output -
hey everyone i'm studying arrays in my intro to VB class and I just don't understand some of these problems I have. I am given code and told to give the output. here is an example. The file DATA.TXT consist of the following entries 1, 2, 3, 4, 3, 2, 3, 4, 5 Dim m(,) As Integer


Could sbd help me understand some code Thanks,.. -
Im a newbie, and trying to understand this code: http://msdn2.microsoft.com/en-us/lib...numerable.aspx I kind of get a bit lost with this part: ------------------------------------------------------ Public Class People Implements IEnumerable Private _people() As P


[2.0] C# Guide -
Hi guys, Where do you think I can find an easy to understand tutorial for ASP.net using C# with ADO.net and SQL Server Database. I admit that there are lots of resources on the net, but I need is that I could easily understand and apply for my web application.


Does I'm wrong - -
I want to convert some Perl program to VB. If I understand what I read on this forums is that what we do with HASH in Perl we have to use Collection in VB? I tried to figure how collection work but what is in the MSDN documentation does not really help me to understand. Someone


Crazyloops -
Can someone explain to me what are loops used for. I have tried to read several articles but could not understand. For some strange reasons,materials produces by Karl Moore (VB World) I tend to understand. I am new to programming.Usually I use the If ...then sratements. thanks .....


Quesrion about ActiveX -
Guys, I have been using VB6 for about 2 years now, and I always get to work on standard.exe part. So meaning I have zero knowledeg on Active X and would like to learn it. I wanted to understand how to use ActiveX control, active.dll or active.exe. Would that be too complicated for m


Impliments -
I don't really understand impliments so I was wondering if someone could explain it a little. I don't really understand it in VB6 or .NET I program in VB6 right now but I am reading some books on .NET to get up to speed with it. I have never had the need for impliments in my code so


motivation, anyone -
How much time do you think a programmer should give himself to understand an applications solution that has so many projects and classes? Is it normal to go through it several times to understand what each class or object is doing? When you were just beginning to code or have inhe


shaped form help -
i have tried to make shaped forms, and succeeded also, but by just getting code from some other source and copying and using it... problem is most part of the code i dont understand, i know use of api but to be honest really i cant understand most of it can anyone helpme to ex


Understand a Friend -
I just converted one of my VB6 project using the 2005 Wizard. I understand the concept of Public and Private but what is Friend? Also, is there anything else in the same line as this? Thank You


Help with blitting to picture box -
I need some help please. I have a form with a picturebox on it, and what I need is some code to do the following: MouseDown - Copy whatever is in the picturebox into a spot in memory. MouseMove - Blit whatever is in the memory back to the picturebox. MouseUp - Delete what


Any Freelancers -
If anyone would be interested I am looking for some help in putting together a game demo, I wouldn't be able to pay much in the respect of wages, but I think if you understand why I am making the demo you'll understand that the gaming world could be changed greatly


searching harddisk for file type -
how would i use api to ( lets say ) find all my mp3s on every directory and sub directory. i know i have to use something like FindFileFirst and FindFileNext ... i don't quite understand those and i don't understand how to search subdirectories. please help. thanks.


Number Only textboxes -
http://www.vbsquare.com/tips/tip317.html I've used this tip before without any problem, but could someone explain how to expand this to allow characters like the return or the period key to not be blocked out? Also, is there a way to stop it from causing a beep on bad character


What is threading -
Could someone explain this to me and give an example of it? I have research it on google but I still don't understand it. I only understand that you can only have one threading for a Windows OS.


Will anyone help me understand functions with arguments [Resolved, Thanks Aaron] -
I consider myself rather intelligent, but I am learning VB with a book and I don't quite understand how to use functions with arguments. Functions, in general, I understand, just having difficulty understanding things like: ------------------------------------------------------------