|
Dave Kreskowiak wrote: So what's the problem/error message?
It just times out every time
I googled lol this sounds funny google mail host and port but it doesnt send the message to my account
Frazzle the name say's it all
|
|
|
|
|
You have to use port 587. Reading the documentation on the SmtpClient class states that:
An alternate connection method is where an SSL session is established up front before any protocol commands are sent. This connection method is sometimes called SMTP/SSL, SMTP over SSL, or SMTPS and by default uses port 465. This alternate connection method using SSL is not currently supported.i>
|
|
|
|
|
Thank You sir now I can hard wire it to send me log files in my apps
I wonder why google site search returned the wrong port.
Frazzle the name say's it all
modified on Tuesday, February 15, 2011 11:23 AM
|
|
|
|
|
Hi,
Does anyone knows how to export/extract/copy (or whatever is the right word) a file wich is added to the soulution, on the startup of a program, like somekind of installation?
cheers
|
|
|
|
|
Instead of start up, you can make it a part of installation process. This will then be just a one time action. This[^] might help.
|
|
|
|
|
In my company each user has a username based on their login name. For example, John Smith would have a user name of JSmith. However my program needs to retrieve the full name of the user. The System.Environment.UserName only return the login in name. However on all our computer when you click Ctrl-Alt-Del it comes up with a window that lets you lock the computer, start the task manager, etc. On this window though it shows the login information and it says "John Smith is logged on as MyCompany\jsmith" and has the time the user logged in. So I know the full user name is stored in some setting, but I don't know where or how to access it. Any help would be appreciated. Thanks in advance.
|
|
|
|
|
Use UserPrincipal.Current.DisplayName .
Further, this[^] article should be helpful to you (even though it is for C#).
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
|
|
|
|
|
Hi I am starting a new project that will be used by one user per copy. It will require a data store, upon witch many calculations will be required. My question is, What type of data source would You use for this type of app. I am "new to developing" so any input would be appreciated.
My first thought would be to use xml as a data source, what do You think?
If You think I am on the wrong track Please feel free to say what an idiot
BTW This will be My first data centric app.
Frazzle the name say's it all
|
|
|
|
|
Is the data to be shared by all copies of the program?
Is there likely to be more than a very small amount of data?
If the answer to either of those questions is yes then I would suggest that you would be better using one of the SQL variants. SQLExpress or SQL C.E..
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
|
|
|
|
|
The answer to the first question is no
And to the second Yes
(Sorry I don't know how to quote your message)
So the next question I have is what model should I use? EG. I would be using OO so would dao or enties?
BTW thank You for Your input!
Frazzle the name say's it all
|
|
|
|
|
frazzle-me wrote: (Sorry I don't know how to quote your message)
After you have hit the 'Reply' widget, select the text you want to quote from the original message and then hit the 'Quote Selected Text' button. (The big orange one )
If dao in your question means what it used to mean then it has been replaced by ADO.NET[^]. If you follow the links on that page, you will get a fairly good understanding of how it works.
The Entity Framework[^] can be a little complex, particularly if your database schema changes quite a lot during development. Once again if you follow the links on that page you will get to understand how it works.
For a first 'data centric' application I would probably tend toward ADO, but I am a conservative sort of person. If after you've had a play with both, you think you've got your head round Entities then go for that, otherwise use ADO.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
I wouldn't let CG touch my Abacus!
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is.
|
|
|
|
|
Henry Minute wrote: For a first 'data centric' application I would probably tend toward ADO, but I am a conservative sort of person. If after you've had a play with both, you think you've got your head round Entities then go for that, otherwise use ADO.
Thank You I am researching ado now
Frazzle the name say's it all
|
|
|
|
|
Hi,
I am developing a database that require a visualization of STEP or IGES file. I want basic rotation keys and zoom in/out.
Can anyone now if this feasible under Visual Studio 2008/2010 ? There is any library o API that I can use.
Thanks for the feedback.
knc
|
|
|
|
|
Yes, it's feasible to do.
You'd either have to write your own libraries to parse the file and visualize them or find a library to do it for you. I don't know of any, but if you Google for "IGES STEP SDK" you might find a few.
|
|
|
|
|
|
Like which? Are you talking about the individual pictures or the entire right side panel of the form?
In either case, I'd bet that they are both custom made controls. You'd probably start with a Panel control and custom paint the image it should show. You could probably use a Panel control inside of another Panel to handle scrolling. The inner Panel would host all of your image controls.
|
|
|
|
|
Meh, dunno anything about custom painting. Do you know of any third party controls that look like it?
Virtual Space Shuttle Astronaut
|
|
|
|
|
The Mighty Atom wrote: Meh, dunno anything about custom painting.
Wow. So much for learning...
The Mighty Atom wrote: Do you know of any third party controls that look like it?
I don't know of a third party control that does this for you.
|
|
|
|
|
Looks like a set of picture boxes (perhaps in a panel).
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it.
My latest tip/trick
|
|
|
|
|
The one on the left is a TreeView. The one on the right is probably a custom built view, try asking the site where you saw it. Lots of samples of both can be found in the CodeProject articles or via Google.
I must get a clever new signature for 2011.
|
|
|
|
|
Will do, thanks.
I don't mind learning, i just don't know where to start when it comes to custom painting.
Virtual Space Shuttle Astronaut
|
|
|
|
|
The Mighty Atom wrote: i just don't know where to start when it comes to custom painting.
Try somewhere like this[^]. Use the tools available, such as MSDN, Google and all the various 'techie' sites (such as CodeProject) where people post articles, suggestions, tips etc.
I must get a clever new signature for 2011.
|
|
|
|
|
Is there a way to avoid typing alphabetic keys (A-Z) in any window and track the key which was pressed at same time. I tried to use BlockInput API. But it disabled all keys in keyboard. I hope your kind reply. Thanks
|
|
|
|
|
I have to ask why you would want to do such a thing. I can't see any useful purpose in it.
The easiest way to do it would be to create your own TextBox control (inheriting from TextBox) and handling the Key/Press/Down/Up events, searching for the keys that are allowed and passing them on to the base TextBox. Anything else you would do whatever you needed with them and just not pass them down to the base TextBox.
|
|
|
|
|
My requirement is to create a transliteration application. If I do this as you suggested, its ability limits to one application. But I want allow users to do transliteration on any window. To do so first I want to avoid typing English letters and track the key which was pressed. Later it will send translated letter to the active window. That's what I want.
|
|
|
|