15,891,951 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Ahmed.ganainy (Top 11 by date)
Ahmed.ganainy
19-Feb-13 1:59am
View
and the problem of Union that if i have two borders next to each other it will become one surround borders without the intersection line in between......
Ahmed.ganainy
8-Feb-13 13:20pm
View
i forgot to appreciate your interest and fast respond..
Ahmed.ganainy
8-Feb-13 13:19pm
View
yes this what i'm using "select case". but there is no way to use something like the below:
Dim tag As TextBox = DirectCast(Container.Controls(block + "Tag(" + index.ToString + ")"), TextBox).
controls("control from string") is not supporting the string to be element of array.?
Ahmed.ganainy
8-Feb-13 13:04pm
View
Ahmed.ganainy - 10 mins ago
my panels names are MotorPanel, valvePanel, ScalPanel......etc
my checkboxes array are MotorCheckboxes(), valveCheckboxes()....etc
My textbox arrays are MotorTag(), valveTag().....etc
block is Motor, valve Scal....etc depend on the panel
Ahmed.ganainy
8-Feb-13 12:53pm
View
Deleted
my panels names are MotorPanel, valvePanel, ScalPanel......etc
my checkboxes array are MotorCheckboxes(), valveCheckboxes()....etc
My textbox arrays are MotorTag(), valveTag().....etc
block is Motor, valve Scal....etc depend on the panel
Ahmed.ganainy
8-Feb-13 12:31pm
View
In my application i have group panels and each has set of control arrays and the naming i referenced by the grouppanel name so
i want when the user click in check box i will detect the grouppanel (parent container) so i can know which text box to disable.
so i want to use something dynamic like the below
Dim Container As Panel = DirectCast(sender.parent,Panel )
Dim tag As TextBox = DirectCast(Container.Controls(block + "Tag(" + index.ToString + ")"), TextBox).
so the issue how can i directcast a control from string and using controls("controls name as string") is not working in the case of the string is tag(5)..
Ahmed.ganainy
8-Feb-13 11:10am
View
Ok i follow your instruction and i created each and every thing with control array now how can i directcast an element in control array.
directcast(controls("control name"), control type
i want the user when he uncheck checkbox it will disable the the two text box beside it
fyi i used control arrays for checkboxes and text boxes but i can't point to them dynamically by code as i was doing before with direct cast. below is my setting window of interest
http://uploadpic.org/v.php?img=5TWwXfDZoX
Ahmed.ganainy
14-Dec-12 14:52pm
View
it is not the issue as you see in the below:
http://imageshack.us/photo/my-images/690/errorik.png/
the sub identified the word and its location but ...i don't know."System.ComponentModel.Win32Exception was unhandled
"
and for the same code sometimes i see this issue and sometimes i don't see...how come??
Ahmed.ganainy
14-Dec-12 1:25am
View
for more clarification:
i am writing a code as string similar to Schneider code with the above code "doc.LoadXml(GenCodeText.Text)". and it gives me a valid xml code but the issue when i opened it as txt it shows me different format and if i put "doc.PreserveWhitespace = True" i found the text view of xml file comes in one line only.
Ahmed.ganainy
13-Dec-12 5:12am
View
PreserveWhitespace to true will generate xml code but if i opened it in text viewer it will comes in only one long line.
http://imageshack.us/f/845/codesx.png/
Ahmed.ganainy
13-Dec-12 5:12am
View
PreserveWhitespace to true will generate xml code but if i opened it in text viewer it will comes in only one long line.
xml will show that they are same.but in text viewer they are different.
Show More