|
Hi,
I wanna change the system date time format and resolution
For system date time format i used this code
<br />
Dim tmpCurrentCulture As System.Globalization.CultureInfo<br />
tmpCurrentCulture = New System.Globalization.CultureInfo("en-US")<br />
<br />
tmpCurrentCulture.DateTimeFormat.ShortDatePattern = "MM/dd/yyyy"<br />
System.Threading.Thread.CurrentThread.CurrentCulture = tmpCurrentCulture<br />
MsgBox(System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat.ShortDatePattern.ToString)<br />
<br />
it shows the format MM/dd/yyyy but when i check i controlpanel->regional settings->customise date the format is not changed to MM/dd/yyyy
And second thing how can i change the resolution 1024 by 768 pixcel
Thanks with anticipations
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
|
|
|
|
|
Well, the date time format question is easy. All you have done is set the currenlty running thread to the new date format, not the PC.
There was another post recently about how to change the system date and/or format, it should point you in the right direction - and probably for the resolution settings too.
Bob
Ashfield Consultants Ltd
|
|
|
|
|
Thanks for reply
Actually i wanna change the system short date format for doing this i have tried registery and Current Thread Culture but it fails in some condintion so i wanna do it in right way with also change the resolution of Pc
Unless u don't give ur hundred percent whatever u r doing till there is no result of ur work...
|
|
|
|
|
Hi ALL,
I have on desktop application.
When the application loads, i want the hotkeys to be displayed without ALT keystroke.
For this i used Sendkeys in form load event.
But when application starts, if i click on desktop area before form loads and appears then it does not show hotkeys otherwise it works fine.
I also tried form activated event, but the result is same.
Is there any solution.....
Regards
-Sifar
|
|
|
|
|
have u tried shown event ??
Abhishek Sur
|
|
|
|
|
I WANT TO USE PROGRESS BAR CONTROLL WITH MY VB APPLICATIONS. SUCH AS TIME TAKING PROCESS. WHEN GENERATING A REPORT WITH LARGE SUM OF DATA. WHEN SAVE LARGE DATA.
THE OTHER IS I WANT TO ADD SOME ICONS TO MENUS IN MY VB APPLICATION. I TRIED IT BUT IT DIDN'T WORK I HOPE QUICK ANSWER FOR THESE TWO QUESTIONS.
THANKS
JANAKA RUWAN
|
|
|
|
|
You should never use CAPS, this is considered as rude.
janaka ruwan wrote: I HOPE QUICK ANSWER FOR THESE TWO QUESTIONS
www.rentacoder.com
janaka ruwan wrote: I WANT TO USE PROGRESS BAR CONTROLL WITH MY VB APPLICATIONS. SUCH AS TIME TAKING PROCESS. WHEN GENERATING A REPORT WITH LARGE SUM OF DATA. WHEN SAVE LARGE DATA.
Have a look here[^]
janaka ruwan wrote: THE OTHER IS I WANT TO ADD SOME ICONS TO MENUS IN MY VB APPLICATION
I dont think, VB 6 support menu icons
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Please don't use all caps. That is considered shouting.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Hi
Is there any way to understand a running application is calling a function, method or sub? In other words I want to communicate with other running proccesses.
For example I want to know when Notepad.exe is calling the Open function.
Thanks.
|
|
|
|
|
This is considered as rude to double post.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Well, you told it's immpossible in C# and I decided to test VB. I posted this post to Visual C++ / MFC Discussion Board and found an article that might be helpful for me
|
|
|
|
|
In general, no there is no way to do that without Notepad running a debug version of it's code and you writing a debugger application that follows its execution.
|
|
|
|
|
pm526467 wrote: Is there any way to understand a running application is calling a function, method or sub? In other words I want to communicate with other running proccesses.
That would require that the application wants to communicate that information to your application. I haven't heard of any application that has such an interface, and Notepad sure does not.
Perhaps you should ask about what you are trying to accomplish, instead of asking how to solve it the way that you think that it should be solved.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
hi there,
i need to compress/decompress a file in .lzh format in vb6,
please find me some way of doing that.
thanks.
i m faisal
|
|
|
|
|
anu_sam777 wrote: please find me some way of doing that.
There is no support built into VB6 or Windows to do this. You'll have to Google for a third party library that can. All you have to do is type in "vb6 compress lzh" and you might find what you're looking for.
|
|
|
|
|
Hi,
I have a script that creates flat files. It firstly reads them into a structure upon which validation takes place.
I am wondering if there is any way possible I can loop each variable in the Structure and set it programaticly rather than hard coding
I mean
Structure ABC
Dim A as String
Dim B as String
Dim C as String
End Structure
and in my code I would like to beable to do something like
For each c as variable in Structure
c = [myDataTable].Rows[i].value
next
If you understand what Im getting at.
Rather than me entering
values
a = [mydatatable].rows[i].value
b = [mydatatable].rows[i].value
|
|
|
|
|
use ArrayList or any collection objects to add structures, and loop through them... and get structures...
Abhishek Sur
|
|
|
|
|
Not sure if you can do this. Looks like both are three lines though
Any suggestions, ideas, or 'constructive criticism' are always welcome.
|
|
|
|
|
Hi all
I have a web application created which is currently used.
Now I have to create Windows application same as my Web application.
And I don't want to repeat all my action to do same thing again and again CAUSE the web application is very huge.
So is it possible to convert?
Is there any way to do something like this?
Believe Yourself™ ™
|
|
|
|
|
Gandalf - The White wrote: So is it possible to convert?
Well, there is no ready tool available for this. But it would be simpler if you have a seperate business layer.
In this case what you need to do is write the UI layer again.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Manas Bhardwaj wrote: In this case what you need to do is write the UI layer again.
Hi Manas
Thanks for the suggestion.
That is the last way that I have already thought and that will be the last.
but what the problem I am facing is my UI.
As you know how easily we can customize the UI in web applications but that is not so easy for Windows applcations.
So if there is any way to convert UI also that would be great.
There is no repeater we have in Windows appl. (I gonna have to repeat a table 8 TIMES which already contains 60 controls - )
Do you have any Idea about Repeater in windows application or something which is similar to Repeater.
And please do me a favor.
If there is any forum for windows application exists then please suggest me?
Believe Yourself™ ™
|
|
|
|
|
Gandalf - The White wrote: There is no repeater we have in Windows appl. (I gonna have to repeat a table 8 TIMES which already contains 60 controls - )
Do you have any Idea about Repeater in windows application or something which is similar to Repeater.
What about building your own custom control for that?
Gandalf - The White wrote: If there is any forum for windows application exists then please suggest me?
Windows Forum[^]
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I m not really familiar with building this control actually I m web dev. but now I had to play a role of windows developer. so Initially I am facing this hurdles.
thanks.
Do you have any alternative to repeater. Any Idea?
Believe Yourself™ ™
|
|
|
|
|
Google for "Visual Basic Power Pack". You'll find a Repeater control you can use in that.
As for converting a Web UI to Windows, there is no tool that exists that can do this. You have to rewrite the UI from scratch.
|
|
|
|
|
Thanks Dave.
currently I m designing mt win appl. from scratch as per my web appl.
Thanks to all.....
Believe Yourself™ ™
|
|
|
|