Topics
-
-
- Leaders
- 1 reply
- 1.2k views
My MainMenu is hidden at runtime. The properties of each item is set to visible. What am I missing?
Last reply by snarfblam, -
-
-
- Leaders
- 4 replies
- 974 views
I like to make a field with a maximum of chars, the maximum is 50 char's. But how can i program that?
Last reply by Jelmer, -
-
-
- Administrators
- Leaders
- 4 replies
- 1.2k views
Good Morning for everyone, I have a C# application that when running ~2 days it increases very much the windows virtual memory, taking windows xp displaying a systray message balloon telling that windows virtual memory is low. The physical memory is OK about 300MB , but another thing (regarding taskmanager) is also the number of hanlges and I/O Writes that the application has. Its all managed code, i only have an unmanaged active-x that makes image acquisition from a camera. Code has some threads that access to a database, and writes every 3 minutes 4 BMP images abot 3MB in to disk, and some textfiles used has logs. . Does anyone know how to avoid this, or d…
Last reply by PlausiblyDamp, -
-
-
- Leaders
- 3 replies
- 1.3k views
I'm using System.IO.File.Copy to copy a file to a folder. I have a FileListBox on my form that contains the files in that folder. The problem I'm having is that the FileListBox doesn't show the newly added file unless I change folders and then come back it. I've tried FileListBox.Refresh and FileListBox.Update with no luck. Any help out there? Thanks, Bernie
Last reply by snarfblam, -
-
-
- Administrators
- 4 replies
- 1.3k views
Hello, what is the best code documentation generator for .VS 2005? Is it NDoc for VS.NET 2005 the best, or you know better alternatives? Thank you for suggestions
Last reply by mskeel, -
-
-
- Administrators
- 4 replies
- 1.5k views
We have developed an app that may be run as a classic application or installed as a service. It is written in a mixture of C# and VB using VS2005. As an app, it has no problems using a mapped netword drive. When we install it as a service it no longer "sees" the mapped drives. We have attempted to change the login setup for the service, but that didn't help at all. Obviously, the scope of the program is different when running as a service, but we are not sure what is going on or how to program around it. How do we access mapped drives from within a service? Thanks in advance to anyone who can help! John
Last reply by jboothco, -
-
- 2 replies
- 1k views
Hi all I have set the timeout value of my web app to 2 minutes in to web.config file. I have also confirmed that the session timeout for the app. in IIS is also set to 2 minutes. I am only using the 2 minutes as a test and will up the value to about 20 minutes when I get it working properly. So, I log in, and I do nothing for over two minutes. When I try to go to another page via the menu control, the application starts crashing and throws errors regarding missing data, tables, etc. Now I think that this is due to the fact that I previously changed the Content Expiry to 2 minutes and then to 4 minutes. How can I get my app. to redirect the user to the long in…
Last reply by Gill Bates, -
- 0 replies
- 1.6k views
Hi I am in the middle of a proof of concept at the moment to determine if we can connect to a Teradata database from our web servers. I have the NCR Teradata ODBC drivers installed on a Windows 2003 server, and that server should by default have the MS Teradata drivers installed as MDAC 2.8 SP1 should be there. The problem I have had is that the drivers aren't recognized if I try this with either ODBC or OLE DB connections. I have had one of the developers create an app for me so that I can update the connection string and try to connect, but have had no luck. I also installed the NCR drivers on my own Windows XP machine (SP2), which also should have the equivale…
Last reply by robojam, -
Just a quick thanks for the existence of this board. Once again I was able to search for a topic and learn a much better way to implement it based on what I read here. If I did not use the search function I would be well on my way to a 1000 posts by now. :)
Last reply by MTSkull, -
- 0 replies
- 907 views
Hello, I build a project. I read a xml, the crystal report makes a report of this xml file. On my computer it runs well after the installation. But if i change the build directory, and i run the executable again, everything runs well exept the making of the crystal form. If i make the form, the project saves the current directory, thats the directory where my project items are staying and also a xml file. But how can i get a normal path without d:\project\items\build .... Just: Article.xml Where can i find the path? and how can i change it? Greets. Jelmer
Last reply by Jelmer, -
-
- Administrators
- Leaders
- 3 replies
- 1.2k views
I'm working with 2 active forms. Form1 has a combo box, Form2 has a button with a context menu on it. Anytime I click the context menu on form2 and try to obtain the .SelectedIndex property of the combobox on Form1 it always just returns "-1" even though it is obviously isnt "-1". Because I can see that their is a valid selection in the combo box. Any Ideas? I have tried making the context menu a public entity by declaring it in a module, but that didnt work either. The button is also a public entity btw, and declared in a module. I'm sure it's some sort of scope problem?
Last reply by snarfblam, -
-
- 9 replies
- 21k views
I am developing a VB.Net application. I want to send email through application. Can i only use System.Web.Mail to send emails in vb.net application or there is anything else? Also using System.Web.Mail do i have to pass the SmtpServer Name? I am developing application for general user and i dont know what smtp server they will use........ this is the code i am using: SmtpMail.SmtpServer = "localhost" Dim email As New MailMessage email.Subject = "test" email.Body = "A Star Is Born" email.To = "abc@xyz.com" email.From = "pqr@xyz.com" SmtpMail.Send(email) I am getting Could not create 'CDO.Message' object. ERROR …
Last reply by samsmithnz, -
- 1 reply
- 2.9k views
Does anyone know how to get the owner (or last saved by) of a file? Thanks, Bernie
Last reply by mskeel, -
-
- *Experts*
- 3 replies
- 1.4k views
Hey, I want to change the background color of the selected text in an rtb (not the WHOLE rtb background... just the background of the selection). I can't find any methods to do so in the C# library. Any ideas? Thanks so much!
Last reply by DiverDan, -
-
-
- Administrators
- 2 replies
- 1.1k views
I was reading: http://msdn.microsoft.com/msdnmag/issues/02/04/ASPSec/default.aspx And it has: If your application requires no special protection�if all of its pages can be freely browsed by anyone and none are personalized for individual users�you needn't bother with application-level security. Just grant Everyone access to the application's files and be done with it. We first wanted to use Forms Authentication, them decided on Windows authentication as users dont want to keep logging in. Users can access all the pages. No restirctions. This an application for clients. My question is: If users can access all pages and there's no restiction, then I dont ne…
Last reply by eramgarden, -
-
-
- Administrators
- 1 reply
- 895 views
I have two forms, FormA ancd FormB. On FormA I have a button that displays FormB. I have a sub in FormB that refers the path of a dirlistbox on FormA. The problem is that the sub in FormB is getting the wrong path of the dirlistbox on FormA. Hope I explained this clearly and thanks for the help, Bernie
Last reply by PlausiblyDamp, -
-
- 0 replies
- 980 views
I have a crystal report issue when I have a field in the detail section with the Can Grow property of that field checked it does work as expected but when wrapping I get and issue like WWWWWWWWWWWWW WWWWWwwwWWWWWW and I need it to wrap like WWWWWWWWWWWWWW WWWWWWWWWWWWWW Any ideas on what may be causing it to wrap text incorrectly would be greatly appreciated.
Last reply by lothos12345, -
- 1 reply
- 1.5k views
hello I have a little code to change a '.' into a ','. But after the changing the cursor is put to the beginning of the textfield. Before: 45.| after translation: |45, The | is the cursor. My code: txtPrijs.Text = txtPrijs.Text.Replace(".", ","); I like to put the cursor tot the end of the line.. But how?
Last reply by mskeel, -
-
- Administrators
- 27 replies
- 3.1k views
Hi All, Apoligies for my absence, moved house last year. I am trying to copy an element from an esisting XML file. For example here is simplified version of this file: <Ctrl Name="Customers"> <Group GroupId="1"> <FirstName>"Joe"</FirstName> <Surname>"Soap"</Surname> </Group > <Group Group ="2"> <FirstName>"Joe"</FirstName> <Surname>"Pope"</Surname> </Group > </Ctrl > All I am trying to do programmitically is trying to copy the element store where it's ID is 1 to a new element store of ID 3 into the existing XML document, like this: …
Last reply by davearia, -
-
-
- Administrators
- Leaders
- 3 replies
- 1.3k views
Hello, I have a ready made C file and I would like to use this file's functions in my VB.net application im using VS2005. The C file is also available as dll... so what should i do?? Thanks
Last reply by PlausiblyDamp, -
-
Who's Online 0 Members, 0 Anonymous, 48 Guests (See full list)
- There are no registered users currently online