|
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™ ™
|
|
|
|
|
just separate your web business logic and data retrieval logic to a separate class library... u can use that in your Windows application, just you have to create the UI...
You may also use Web Services if you want to run the same code from both...
In that case windows application should be connected to internet or local network to run....
Abhishek Sur
|
|
|
|
|
Abhishek sur wrote:
You may also use Web Services if you want to run the same code from both...
Thanks Abhishek
Have you ever done like this before?
It will be better if you describe in brief how to use web service for the purpose you mentioned above.
Believe Yourself™ ™
|
|
|
|
|
Hi,
I have a form, which has toolstripcontainer with 4 toolbars. Problem is after adding toolstripcontainer, key down event of form is not fired. keypreview of form is set to true. key up is fired.
Please help..
modified on Friday, August 29, 2008 4:49 AM
|
|
|
|
|
I am not very good with percentages in calculations. I am writing in VB(.net 2005). I have 3 textboxes. One is current pay, and one is new pay. Both DOUBLE values. I need to have a calculation that finds the percentage of the increase in pay after the current pay and new pay are entered in the textboxes. I also need a calculation that allows the user to enter the current pay and percentage(the 3rd textbox) of the increase and calculate the new pay. So there are actually two calculations. Please someone help me out with this. I know to someone who is good with calculations and percentages can figure this one out fairly quickly. Thank you!!!
|
|
|
|
|
u can do like....
suppose u r taking 2 textboxes one for input the number and 2nd for input the percentage like 10% of 100.
now u can display the result in a label control like
dim a,b as integer
a=TextBox1.Text
b=TextBox2.Text
Label1.text=(a*b)/100
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
This is why you need other skills than just programming to be a good programmer.
You calculate the difference relative to the original amount. So you get:
percentage = ((newPay - oldPay) / oldPay) * 100
To calculate the new amount from the percentage, you can just convert the formula:
newPay = oldPay + (percentage / 100) * oldPay
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Wrong Forum...And In between, I don' t see any forum called Juniour School Problems at CP
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|