eric_bubu's Q&A profile
Windows Forms best way to store customizable settings
In an app I'm writing, I have to store a value somewhere of the last time the program was run. Where is the best place and what is the best method to store this type of information Thanks. > The best place to store this information is the isolated storage (see > System.IO.IsolatedStorage namespace), because it supports roami ...Show All
Visual Basic Time notation
hopefully im in the right thread in here. my question is about how i can get a WORKING time/date notation into my project. I used some code i found, but they are always giving an error. hopfully someone's knowing what i need ;) P.S. im using MS VB 2005 Express )with MSDN license) P.P.S. My english is bad, i know, my appologize for it ;) Can you include the code your using and what your trying to get out - your description is rather vague ...Show All
Visual Studio How to use Generic List in T3
This fails at run time because Entities is unknown despite it is part of my GAT project. Any idea Thanks in advance, Philippe <#@ Template Language="C#" #/> <#@ Using Namespace="System" #/> <#@ Using Namespace="System.ComponentModel" #/> <#@ Using Namespace="System.Collections.Generic" #/> <# /* Retrieve parameters for use in the template */ System.ComponentModel.Design.IDictionaryService svc = (System.ComponentModel.Design.IDictionaryService) GetService(typeof(System.ComponentModel.Design.IDictionaryService)); PropertyDescriptorCollection propDescCol = (PropertyDescriptorCollection)svc.Get ...Show All
Windows Forms Where to install winapp-application and sqlexpress
I have a winform application. It works with a sqlexpress database. When I have a single box there is of cource not a problem. But how to install this for multiuser Usually I installed the application on the clientmachine. The datafiles I copied to the network. Those files could be shared. (I talk about dbf-files). Now I' using sqlexpress. Let's say I have 3 computers connected in a local network. One of them is the server. Do I install sqlexpress only on the server computer I guess so. And the winapp Do I install the winapp on both client systems (included the .net frameform) thanks Klaas Netherlands Sorr ...Show All
SQL Server Why?
1.SELECT year, month, day, yearweek FROM ELP.dbo.[T_Mcalendar] WHERE date>='2005/07/01' and date<='2005/07/31' 2.SELECT year, month, day, yearweek & ...Show All
Visual Studio Express Editions Install says my OS is older than Win2k SP4
When I run the install I get a popup that says I need to upgrade to Win2k SP4 or newer. I'm using WinXP SP2. What's up with that Is this related to your other post.... http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=362658&SiteID=1 ...Show All
Windows Forms Using Windows.Forms-Designer to create an office-CommandBar??
Is it possible to use the Windows.Forms-Designer to create a CommandBar, that can be added to the commandBars in MSOffice I know how to create a new commandBar and how to add it to the commandbars in office, but it's a lot of work to do it by hand. So it would be nice, if I could create the buttons and actions in the Forms-Designer and afterwords add it to the new commandBar. Is there any way to do this You can't use the WinForms designer to do this, but you could use the VSTO (Visual Studio Tools For Office) api to get some help with this. Here's some sample code: http://www.outlookcode.com/vsto/too ...Show All
Windows Search Technologies Searching a specific drive or folder
Hi, I would like to know whether I can limit my search to a specific partition (drive) or folder, say I want to search a file named myresume in E drive. or say I want to again narrow my search to the folder resumes in E drive for the file myresume. Thanks for any help philip In the Help section of WDS if you look for the advanced query syntax you will find the following (and a lot more). To restrict by file type: Use: Example All file types everything kind:everything Communications communications kind:communications Contacts contact ...Show All
SQL Server Token (A-DBN) show always master after alert
I try to create a job for an alert that should backup the log of the database which passed adefined threshold in an alert. Therefore I created an alert for this threshold which starts a job in which I would like to use the token (A-DBN). Doing debugging with print statement shows always the database name "master", although my alert is defined for a user database. Bug or USer error and if it is an user error, what did I wrong Nobs Does anyone have an idea if this error is a known bug for SP1 Regards Nobs ...Show All
Visual Basic Setting up a database. Need Help!!!!
Hi!, How do you set up a database I tried to, but it will not work. UserInfo.Recordset.Fields( "username" ).Value = txtName.Text The code above is a sample code from my program. How do I get my Database to be named UserInfo In Visual Basic 2005 Beta 2 I am used to the old Visual Basic 6.0. So what I am aiming right here is that how can you put in a data base that is in mdb format into my program using the code above. It worked before in Visual Basic 6.0, but it does not recognize Recordset or UserInfo. Well the reason it does not recognize UserInfo is because I am tring to get the database named UserInfo. To make in clearer, these are my ...Show All
Visual Studio 2008 (Pre-release) IIS Hosted WCF service & WLBS
We are setting up a WCF web service in IIS 6.0 on 2 servers, behind a wlbs clustered dns address. In IIS's configuration, there are 2 IPs in the host header section ('Advanced Web Site Identification' in the management tool) for each instance of the web (one for the cluster dns name, one for the local, so we can 'http://clusterservice/' addressing, and also 'http://clustermachine1/' and 'http://clustermachine2/' for individual testing and troubleshooting). When trying to connect to the .svc page on the cluster address, we get the following error: Duplicate registration for URI 'http://clusterservice/service/service.svc' I'm guessing th ...Show All
Visual Basic Getting the connection string for a project
I'd like to set a string variable to the connection string for a project. I've seen the build connection string module/function and tried to use it but it's hopelessly complex for what I want. I just want the string. Is there an easier way LMAO ROFL!!! That's gotta be the greatest "one-upper" ever! I can't wait to use that one on my company President, Marketing Developer, and Advertising Manager!!! Anyway, don't wanna get too far off topic. Glad that solution worked for ya. Good luck! ...Show All
Visual Studio VSS Internet Checkout Errors for 2 projects
Hi, I have setup my VSS to use the http feature. I have a solution with 5 projects and 2 websites. I can checkin the projects, websites, solution everything in VSS properly. When I try to open the solution and projects from VSS again it loads 5 projects and 1 website properly but for the second website it gives me following error. Error: Cannot contact the Visual SourceSafe Internet WebService or cannot access the specified database. The server returned the following error: The operation timed out (0x80072EE2) The plug-in advanced settings for SourceSafe Internet require SSL connections. Please verify that your server can be a ...Show All
Windows Forms Right click on RichTextBox no menu
When I right click on an instance of a RichTextBox control no menu pops up. The standard (like cut and past) operations will be extremely useful. Is there someone that knows if there is a property I need to set to enable the right click menu Is it maybe not yet implemented on the RichTextBox control Any feedback will be appreciated. Regards Herman Hi, thats not dificult at all. Add you own ContextStripeMenu to the richtextbox. Make two MenuItems with cut and paste and add this code: private void cutToolStripMenuItem_Click( object sender, EventArgs e) &nbs ...Show All
Visual C++ VC2005 %50 Slower then VC2003
I just migrated a graphics application from VC2003 to VC2005. After building it, I ran a small benchmark & found that VC2005 code was about %50 slower. The Application does a great deal of floating point and integer calculations. It also converts doubles to int quite a bit (the VC2003 version used SSE to handle this). The VC2003 version used /G7 and /Ow (which are not available in VC2005) Compiler Switches Used: (vc2003)/arch:SSE2 /c /EHa /FD /GF /GL /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Ow /Oy /TP /W3 /WX /Zi (vc2005)/arch:SSE2 /c /EHa /FD /G7 /GF /GL /GS- /Gs8192 /Gy /MT /nologo /O2 /Ob2 /Og /Oi /Ot /Oy /TP ...Show All
