HI....
You can use SystemParameter sInfo() API Function to Set Or Get any OS parameters Setting as Desktop Wallpaper
Best Regards
User Profile
Collapse
-
HI..
you can replace it by using "WriteConsoleOu tput" API Function, it declared in Windows.h Header File
Best RegardsLeave a comment:
-
Hi..
I think this link will help you to create controls at run-time. This link describes how to create textbox control at run-time, just use label and image control instead.
http://www.thescripts.com/forum/thre....html#post_box
Kind Regards...Last edited by Killer42; Nov 27 '07, 05:50 AM.Leave a comment:
-
HI..
UserControl Allready have Object refrence to Parent Object, you can use Parent object from ActiveX Control Class, For Example
[CODE=vb] Option Explicit
Private ShowState As Boolean
Private ParentObject As Object
Public Property Let HideForm(ByVal Hide As Boolean)
ShowState=Hide
Set ParentObject = UserControl.Par ent
ParentObject.Vi sible = Hide
End Property
[...Leave a comment:
-
HI..
i think you mean this is a error from complier??, please show us simple code to see where is the problem
Best RegardsLeave a comment:
-
HI vmax..
yes you can do that with void type, i will show you two examples
first example show the same function i was descript but with void* type
[CODE=cpp] #include <mem.h>
#include <conio.h>
void main()
{
void* MyData;
char Data2[]="MY DATA";
clrscr();
MyData=malloc(8 );
memcpy(MyData,( void*)Data2,7);
((char*)MyData)[7]=0; /*you...Leave a comment:
-
HI..
you didnt got where is the problem yet?, this link will help you to know more about character set
http://www.microsoft.com/typography/unicode/cs.htm
this code will help you more.
[CODE=cpp] wchar_t *textstring=L"R eady";
SendMessage((HW ND) hwndStatus,(UIN T) SB_SETTEXT, (INT) 0, (LPARAM)textStr ing);
[/CODE]
I hope that help you!
Kind Re...Leave a comment:
-
HI..
may be this forum will help you!, if not please explain more what you wanna to do.Thanx
http://www.thescripts.com/forum/thread740413.html
Kind Regards...Leave a comment:
-
HI..
if i understand your question you have more than 1 method, if you have muliple projects use same classes you can
1.create separated "Dynamic Link Library" DLL File and your classes will be COM Classes and you can use it anywhere.
2.just include same sources .cpp files and headers .h files with all projects that use these classes.
Best RegardsLeave a comment:
-
-
HI...
if i understand your question, this is a simple code that allocate new string and copy 8 bytes from special memory location to another location and then print it.
[CODE=cpp]
#include <mem.h>
#include <conio.h>
void main()
{
char* MyData;
char Data2[]="MY DATA";
clrscr();
MyData=malloc(8 );
memcpy((void*)M yData,(void*)Da ta2,7);
MyData[7]=0;...Leave a comment:
-
HI..
you have variable with UINT64 type, but i think variable address is still use pointer address size as any pointer for example like INT, UINT64 is 8 bytes variable and INT is 4 bytes but pointer is same for example in 32-bit environemt all is 4 bytes address, then where is the problem when using memcpy when memcpy use address not value, or you try to give memcpy the value of the variable not the address!!!, and this mean you try...Leave a comment:
-
HI..
i think there is no way to do that, but you can create Word object with specified file that you wanna to open
[CODE=vb]
Dim WordObj As Object
Set Wordobject = GetObject("C:\Y ourfile.doc", "Word.Document" )
[/CODE]
Best RegardsLeave a comment:
-
HI..
you are right, but not just it obsolete, but with current situation, he need to print * instead of Original character, you can do that by using FindWindow and SendMessage With ES_PASSWORD Style but take in your mind that inputbox displayed as Model dialog and InputBox() function does not return until user press enter or cancel, this mean you need to create another thread before calling InputBox Function , and then use FindWindow...Leave a comment:
-
HI...
you using unicode or muli-byte characters??
Best RegardsLeave a comment:
-
HI..
to create DLL : start new project and select project type as Dynamic Link Library DLL, and then declare you functions with [CODE=cpp]__declspec(dlle xport)[/CODE] Keywords,when you start to build your DLL, VC++ will create .Lib File with your dll name "MyDll.Lib" .
Second to use your Dll: start new exe project and include your DLL header File that have all Functions Prototype,const ant,macros ... etc, and then...Leave a comment:
-
HI..
ok i will get you an example in my second post, but there is no third way to do that within VC++, only Import Directive and COM API Functions can be used to create COM Objects.
Bext RegardsLeave a comment:
-
HI..
i think that you can use Key_Press Event to control what type of charatcers user can input asscoiated by Length of your TextBox Control and TextBox.SelStar t Property, for example you can allow only digits if the textbox length less than 7 and allow characters from a-z if the length=7 and selstart=6, you can try something like that
Best Regards
Edit : sorry i was have miss understand about...Leave a comment:
-
HI...
COM API Functions as CoCreateInstanc e it not just a function call , it need more knowledge about COM Objects, this link may be help you
http://msdn2.microsoft.com/en-us/library/ms686615.aspx
Kind Regards...Leave a comment:
-
Check whether project is running VB IDE
Hi every one...
This code simply show if your project running from VB6 IDE or running as single exe file, because visual basic 6.0 run your project within VB6.exe process and it doesn't create new exe file for you like VB.NET, this situation make some problems as when you try to use resource with API call, all your functions will get failed.
Program: Check whether project is running VB IDE
Language: VB
...
No activity results to display
Show More
Leave a comment: