|
Hi All,
I require help with docking windows form right above task bar
Thank you!
"Mess with the Best, Die like the rest"
|
|
|
|
|
Would you care to explain the problem or should we just guess?
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Actually I am very surprised to hear this from an MVP, the thing is simple i need to dock a window form right above the task bar,
Now wht further explaning do you want?
Thank you!
"Mess with the Best, Die like the rest"
|
|
|
|
|
You'd be surprise how often a question shows up on the boards that can be answered with "Permission Granted". "Great! You want to do something, now what's the problem?" If you would have asked "what are the steps involved in...", that would have clarified where you were stuck - in your case, step 1.
I think you're referring to a Desktop Toolbar, something like this example[^].
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Can you please give me a regular expression in c# to remove single line comments from a string and please kindly help me its urgent
Criteria
a. // text --- Should be removed
b. file:///text.txt -- should be retained
c }//abc -- hear //abc should be removed
Thanks in Advance
Thanks and Regards
Irsh
|
|
|
|
|
read each line as well as each character
and thus the comment line will get eliminated.
|
|
|
|
|
i want to expire the program after 30 day , how i can do that , and don't affect with windows calender if user set back the time
-- modified at 2:41 Thursday 5th April, 2007
|
|
|
|
|
There are several approaches for this. Whenever user installs your application, you check user's internet connection. If he/she is connected to internet, you can check date and time according to user's location via a time zone in web and save this values as encrypted information somewhere under your application's directory. Therefore whenever user runs your application, decrypt this values and calculate remaining date or time.
Another approach is to calculate remaining time not date. Therefore, Whenever user installs the application, record time (HH:MM:SS). Accumulate time and convert it to date (if you want to) each time user runs your application.
I hope that helps for a bit.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
|
|
|
|
|
greate , may you help me with the code for the second approch , calculate the remaining time ..
regards
|
|
|
|
|
Hi,
I would like to know how can I debug through multiple application at a time from a piece of code.
Like to perform "attach to process (Ctrl+Alt+P)" through code.
Any response in heartily welcome.
Thanks in advance
Regards
Parag
|
|
|
|
|
Are you writting a debugger? What are you trying to do with this "attached process"??
Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic 2006, 2007
|
|
|
|
|
Hi How to do encryption and decryption using 128 bit...,
Any one have code plz send to me...,
Magi
|
|
|
|
|
|
A. Title:
Pig-Latin
B. Application:
Control Structures
Procedures
Arrays
Object-Oriented
C. Program Specification:
Project Name: MacProb3
Project Type: Windows Application
D. Requirement Description:
This English to Pig Latin translation program performs a (near-) perfect
translation of any English text to Pig Latin. Words, phrases, sentences,
paragraphs and more.
Basically, the Pig Latin system used here works as follows:
* Words that start with a vowel (A, E, I, O, U) simply have "WAY"
appended to the end of the word.
* Words that start with a consonant have all consonant letters up to
the first vowel moved to the end of the word (as opposed to just the
first consonant letter), and "AY" is appended. ('Y' is counted as a
vowel in this context)
The algorithm incorporates the following features and special case functionality:
* Ensures proper capitalization
* Correct upper case and lower case formatting
* Correctly translates "qu" (e.g., ietquay instead of uietqay)
* Hyphenated words are treated as two words
* Words may consist of alphabetic characters only (A-Z and a-z)
* All punctuation, numerals, symbols and whitespace are not modified
Implement the conversion process in a class named CPigLatin with the following
basic structure (you may include other properties/methods if you want):
Properties:
- EnglishText
- PigLatinText
Method:
- Convert
Write a complete Visual Basic .NET program to translate english words
to pig-latin words. Use the CPigLatin class in a Form that accepts
long texts for english words. The Form should include a Convert button
that invokes the Convert method of the CPigLatin class and then displays
the pig-latin words in a textbox.
You may use any string manipulation functions available in Visual Basic .NET.
E. Sample:
English format text:
Enter the English text here that you want translated into
Pig Latin. This is accomplished via this HTML document and
accompanying JavaScript program. Note that hyphenated words
are treated as two words. Words may consist of alphabetic
characters only (A-Z and a-z). All punctuation, numerals,
symbols and whitespace are not modified.
Pig-Latin format text:
Enterway ethay Englishway exttay erehay atthay ouyay antway
anslatedtray intoway Igpay Atinlay. Isthay isway accomplishedway
iavay isthay HTMLAY ocumentday andway accompanyingway AvaScriptjay
ogrampray. Otenay atthay yphenatedhay ordsway areway eatedtray
asway otway ordsway. Ordsway aymay onsistcay ofway alphabeticway
aracterschay onlyway (Away-ZAY andway away-zay). Allway unctuationpay,
umeralsnay, ymbolssay andway itespacewhay areway otnay odifiedmay.
hel
|
|
|
|
|
Sounds like a really fun assignment.
My advice is free, and you may get what you paid for.
|
|
|
|
|
|
Hi,
Sorry to be teasing you, but as Jonathan said, please do your homework yourself. Now Christian already pointed you in the right direction by advising you what to read up on. Your reply was, that you knew that bit, but don't know how to loop it.
Your original message only stated the assignment your teacher gave you, but you didn't describe any problem. As a matter of principal, everybody here is willing to help you out when you don't know something, but nobody is going to hand you ready made solutions.
In other words, if you want help, ask a question, or post the code you are having trouble with, or describe in a little more detail what it is that you don't know how to do. That way you don't get people like me brushing you off, and more importantly, you don't waste the valuable time of people like Chris, who now gave you advise that you apparently didn't need.
If you know what exactly it is that you need help with (loops), post that, and not only general information, that suggests that you want someone else to do your homework for you.
Now did you figure out a general structure for your app? Are loops the only thing you are having trouble with? Didn't your teacher already teach you all you need to know to do this assignment, i.e. is getting information on how to do certain bits of the app part of the assignment?
Johan
My advice is free, and you may get what you paid for.
|
|
|
|
|
OK, what you need to do, is read up on the string class, and the substring method. If you still can't work it out, or even make a start, ask your teacher for help.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
yea ive been doing that.... i just dont know how to loop it..
thanks anyway
|
|
|
|
|
A. Title:
Pig-Latin
B. Application:
Control Structures
Procedures
Arrays
Object-Oriented
C. Program Specification:
Project Name: MacProb3
Project Type: Windows Application
D. Requirement Description:
This English to Pig Latin translation program performs a (near-) perfect
translation of any English text to Pig Latin. Words, phrases, sentences,
paragraphs and more.
Basically, the Pig Latin system used here works as follows:
* Words that start with a vowel (A, E, I, O, U) simply have "WAY"
appended to the end of the word.
* Words that start with a consonant have all consonant letters up to
the first vowel moved to the end of the word (as opposed to just the
first consonant letter), and "AY" is appended. ('Y' is counted as a
vowel in this context)
The algorithm incorporates the following features and special case functionality:
* Ensures proper capitalization
* Correct upper case and lower case formatting
* Correctly translates "qu" (e.g., ietquay instead of uietqay)
* Hyphenated words are treated as two words
* Words may consist of alphabetic characters only (A-Z and a-z)
* All punctuation, numerals, symbols and whitespace are not modified
Implement the conversion process in a class named CPigLatin with the following
basic structure (you may include other properties/methods if you want):
Properties:
- EnglishText
- PigLatinText
Method:
- Convert
Write a complete Visual Basic .NET program to translate english words
to pig-latin words. Use the CPigLatin class in a Form that accepts
long texts for english words. The Form should include a Convert button
that invokes the Convert method of the CPigLatin class and then displays
the pig-latin words in a textbox.
You may use any string manipulation functions available in Visual Basic .NET.
E. Sample:
English format text:
Enter the English text here that you want translated into
Pig Latin. This is accomplished via this HTML document and
accompanying JavaScript program. Note that hyphenated words
are treated as two words. Words may consist of alphabetic
characters only (A-Z and a-z). All punctuation, numerals,
symbols and whitespace are not modified.
Pig-Latin format text:
Enterway ethay Englishway exttay erehay atthay ouyay antway
anslatedtray intoway Igpay Atinlay. Isthay isway accomplishedway
iavay isthay HTMLAY ocumentday andway accompanyingway AvaScriptjay
ogrampray. Otenay atthay yphenatedhay ordsway areway eatedtray
asway otway ordsway. Ordsway aymay onsistcay ofway alphabeticway
aracterschay onlyway (Away-ZAY andway away-zay). Allway unctuationpay,
umeralsnay, ymbolssay andway itespacewhay areway otnay odifiedmay.
hel
|
|
|
|
|
Please don't repost - Also, do your own homework assignments.
|
|
|
|
|
yea its really an anssignments.. im just here to ask help.. thanks anyway..
|
|
|
|
|
i have a window form consists around 30 textbox and label, so i don't want disable all by write code one by one , all any idea ? for example , using a for loop to detect all label and textbox and disable it?
Regards,
Chee ken
|
|
|
|
|
for each (Control control in Controls)
control.Enabled = false
end for
I don't 'do' VB, the syntax may be off. However, there is a Controls collection in your form that you can foreach over.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
for each c as Control in me.controls<br />
if typeof c is textbox then 'for textbox you can put label or whatever other controls<br />
'do actions (e.g. c.enabled = false)<br />
end if<br />
next
Posted by The ANZAC
|
|
|
|
|