|
by the way "Jasem" see this from the begining ,but he dont know wat is this , he think that is a chat room, then ask me to create a acount him
SO
if dont know answers Get the FCK OUT OF THERE
Mohamad A. Flefel
mflefel@hotmail.com
+962 79 5963865
C#.net & VB.net Developer
|
|
|
|
|
I've looked at some of your past posts and you are usually quite rude including insulting newbies. yes, their questions may seem simple, but we all started somewhere. We use the Soapbox to take jabs at each other--not the programming forum boards. If you can't play nice please go somewhere else.
|
|
|
|
|
mflefel wrote: Here is a site for Proffesional Programmers , not for junior HomeWorker
That is utter nonsense.
This site is for anyone doing programming, the age or profession does not matter.
Are you here only in the capacity of a professional programmer? If so, and if I answer any of your questions, where do I send the bill?
---
b { font-weight: normal; }
|
|
|
|
|
i want to store formated text into sql server, which then i can query into my asp.net pages. how can i do this? how do i store formated text e.g paragraphs etc
|
|
|
|
|
I am working in VB.NET. I wanted to know how can i get mysql database schema from VB.NET.I want all tables names, columns, constraints. So what is the way to read mySQL schema in VB.NET
|
|
|
|
|
Hi
Is it possible to create a 2-dimensional property array?
I have a property within my class, it's type is an enumerator within the same class.
I would like to reference this property as an array.
For instance
If i say that WorldState(3,2) = isPossibleTrue then my property (WorldState) must execute the let/set command.
If this is not possible, what alternatives do I have?
Regards
you can't forget something you never knew...
"Watching Migthy Joe Young made me hate my life..................................I want a gorilla!" A. Havemann
|
|
|
|
|
Yes you can have .... make return type of property as two dimensional also in set section make parameter(value) of same as return type of property.
hope it helps
cheers,
Akhilesh Yadav
|
|
|
|
|
Hi All
I have a simple Application and I need to open my documents files in
assoicated applications given the path name and the file name and the
extension.
For example I got all my files stoted in C:\Documents and under that I got
following files.
mydoc.doc
mypdf.pdf
mytxt.txt
myautocad.dwg
and so on..
If I provide the file path in my program it should open up the file with the
relevent assciated application. for example mydoc.doc should open up with
MSWord and myautocad.dwg should open the autocad 2004 installed in my
computer.
How do i do this in my vb.net 2005 framewrok 2.0
Code example would be extreamly helpfull.
Thanks in Advacne
Prash
|
|
|
|
|
System.Diagnostics.Process.Start(PathToFile)
Where PathToFile is (quite obviously) the path to the file you want to open.
|
|
|
|
|
Hey all,
I'm trying to make an imagelist display images in listview with their correct dimensions, by creating a bitmap & calculating the dimensions. I've got that far, but when I load the image, it stretches it to 72x72 defined at design time. I'm wondering if the dimensions can be changed, per image, at runtime.
I've tried ilsource.ImageSize = New Size((width), (height)) but it's not per image & the images don't load at all.
Hope someone can help, cheers.
-piniata.
|
|
|
|
|
ImageList cannot handle images of differing sizes. It'll only hanlde images of the same size between 1x1 and 256x256 pixels in size. ImageList is normally used to hold icon images for other controls, such as the TreeView, ListView or ToolBar, each of which expects images of the same size.
If you want to hold a bunch of images of varying sizes for other purposes, I suggest making your own Images collection.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Cheers Dave,
The imagelist is for a thumbnail view on a listview.. how would I go about making an images collection? Would that just be an array of images?
Thanks again
piniata.
|
|
|
|
|
There's a bunch of different ways to make your own collection. It can be as simple as an array of Image or Bitmap objects. You can use an existing collection, like a HashTable, or you can make your own Collection from scratch, implementing the ICollection interface, or IList and the IEnumerable interfaces. It depends on how you want to access these images and the kind of control you want to have over the collection. Search for those interface names on MSDN and the documentation will explain more about how they work and what those interfaces expect from you. Or don't, and just go with an array of Image objects.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Hi!
I am new to winforms. I just want following to happen a code sample will be great.
user enters username and password and instead of hitting the submit button user just hit enter now i want to fire this button click upon hitting enter how i can do that
please help
|
|
|
|
|
look at the property of the form 'acceptbutton' by selecting the button you want, it automatically puts a handler on your form to react to the return key.
you can also manually setup a similar thing turning on the 'keypreview' property of the form and when the enter key is pressed call the click event of the button.
|
|
|
|
|
Can anyone give me one example like this
ToolstripCollection.Dropdown.add("String", System.Drawing.Image, System.EventHandler)
Thanks
................
|
|
|
|
|
It looks like you answered your own question.
|
|
|
|
|
Yes it is answer, but I don't know how to create eventhandler.
Help me
................
|
|
|
|
|
What is it that you want to do? Add an item to a toolstrip collection and handle events from it? Your question isn't very descriptive.
|
|
|
|
|
Yes I mean like that, I don't know how to do it.
Help me
................
|
|
|
|
|
I don't know how to use command.
example this HTML tag we use (mailto:socheat@khmerfriend.com) what about in VB.NET
................
|
|
|
|
|
What are you talking about? What are you trying to do? Are you trying to launch the default email editor?
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
Yes it can be, but I want user to send an email to with my address what command should i use. example if i just want to open oulook just use commnad(outlook).What about if i specific email address
................
|
|
|
|
|
Easy, just use:
Process.Start("mailto:socheat@khmerfriend.com")
|
|
|
|
|
Thanks, i hope can help me well.
................
|
|
|
|