Software Development Network Logo
  • IE Development
  • SQL Server
  • Visual Basic
  • Audio and Video
  • Visual C#
  • Visual FoxPro
  • Microsoft ISV
  • VS Team System
  • SharePoint Products
  • Windows Vista
  • Windows Forms
  • Visual C++
  • Game Technologies
  • Smart Devicet
  • .NET Development

Software Development Network >> gherold's Q&A profile

gherold

Member List

cablehead
Pete R
Dietz
Damir Dobric
B.Huard
Dr.Virusi
pblecha
bndgk1337
AFoxmore
zppro
Colmeister
chaitanyas
Faiz Farazi
XNA Rockstar
eabz
FQ
hazz
JohnRobbins
Mopman365
Shady9399
Only Title

gherold's Q&A profile

  • Windows Forms Transforming data values?

    I would like to use the data binding mechanism to bind a NumericUpDown control to an int-valued property on an object. However, for various reasons, I want the control to show a value that is one greater than the value of the property(*). Is there some easy way to do this In general, I guess I'm asking if there is some way to transform values in the data source to control properties and vice versa. Cheers, Simon (*) Why do I want to do this The property I want to bind in the object is a zero-based index value, however, it would be more appropriate to present this to the user as a one-based index. I'd like the mapping to be automated. Thanks for that - I think that does what I want to do in one direction ( ...Show All

  • .NET Development how to put the connection string for a serviced component?

    Hi, I am new to serviced component and is doing some study. I created one serviced component and use it to connect to a database. The function is OK but I am wondering where to put the connection string In web, I can put it in the configuration file web.config, if it is a exe, I will put it at the config file. For serviced component, it is a dll. So where should I put the connection string Just in code Many Thanks The following article provides several ways to securely store a connection string: Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnnetsec/html/secnetch12.asp Specif ...Show All

  • Visual Studio Unbound Fields

    How do you send a value/variable in code to an unbound field I have not been able to find any code what-so-ever regarding this issue. Any help is appreciated as well as code samples to show how this process is done. Thank you Is there a website, help reference, book, etc that someone can point out to get my question answered My time restraints on this program are getting very slim and being completely halted in development due to this issue is not helping any. I know the general logic of the program created report, but i must be missing some steps on how to get it started. There is no way this can be so incredibly complicated compared to VB6. 3-4 forms and 60 lines of code for one simple data-bound report ...Show All

  • Visual Basic Trapping Keys from a WebBrowser control

    For most controls, I can capture the user's keystrokes and check them. For the webbrowser control, the key events are not bubbling up. Seems the browser is not passing them along. Have set KeyPreview to True so that's not it. Tried all the key events (down, press, up); none seem to work. Thanks. http://support.microsoft.com/kb/q183235/ WBCustomizer.dll Implements IDocHostUIHandler for VB www.codeproject.com/atl/vbmhwb.asp An ATL control for hosting and customization of multiple instances of WebBrowser control for VB I guess building this into the control natively will lost extensibility. ...Show All

  • SQL Server 20,000 ft. directional question about technologies and capabilities

    Greetings, My desire is to have my primary db in FL and an online hot standby in both my MI and CA offices. The hardware is in place, as well as T1 size pipes. The solution I'm looking for would have all databases online in case of hardware / environmental failure although the application would only be pointing at the primary (or designated) database server. We have another 3rd party solution available, but I'd like to stay native SQL if possible. Is replication the way to go Does one-to-many work Can all the db's be online and available while replicating Can I catch up if switched to one of the other db's temporarily note:This is 100% SQL 2005. Thanks -- sorry for the newbie-flavor of the question, but I'm sure a ...Show All

  • SQL Server Get The Last Record by Grouping (SSIS with ORA)

    I have a view listing tickets and reports for those tickets. I want to query LAST REPORT's OPERATOR SELECT OPERATOR AS EXPR2, NUMBERPRGN, IS_BITIS AS EXPR1 FROM SCADMIN.V_ESKALASYON_2 WHERE (NUMBERPRGN = 'IM1289657') ORDER BY NUMBERPRGN, IS_BITIS DESC That query brings the resultset IM1289657 OGUZY 04.12.2006 14:01:09 IM1289657 MUJDEO 01.12.2006 10:42:30 IM1289657 MUJDEO 28.11.2006 10:58:22 IM1289657 ILKERD 20.11.2006 14:36:12 IM1289657 ILKERD 13.11.2006 16:02:27 IM1289657 ILKERD 07.11.2006 14:02:21 IM1289657 ILKERD 31.10.2006 15:47:56 IM1289657 SINANK 19.10.2006 13:00:00 IM1289657 OGUZY 18.10.2006 1 ...Show All

  • SQL Server VS 2005 Designer Column Width

    Hi, When I try to make a table column smaller in a report it simply refuses. If I make it wider, I cannot make it smaller again, any ideas WHat would determine a possible minumum field/column width I've tried to change it in the report source code, and then it simply changes back to some arbitrary width. I'm using Visual Studio 2005 with a Reporting Services project. Thanks ...Show All

  • Windows Forms Implicit Error Provider

    Is there an implicit error provider on every windows form and user control I am trying to understand how .NET knows to show the default error provider while binding to objects that implement IDataErrorInfo, without us having to explicitly create an error provider. Is this default error provider accessible from code Thanks, Naveen System.Data.DataRowView implements IDataErrorInfo. The DataGrid and DataGridView controls use that interface in their Paint methods and display an "error" bitmap and initialize a tooltip if the row has an error. ErrorProvider is not involved. ...Show All

  • SQL Server Extremely Poor Performance - Identical DB's but very different performance

    Hello Everyone, I have a very complex performance issue with our production database. Here's the scenario. We have a production webserver server and a development web server. Both are running SQL Server 2000. I encounted various performance issues with the production server with a particular query. It would take approximately 22 seconds to return 100 rows, thats about 0.22 seconds per row. Note: I ran the query in single user mode. So I tested the query on the Development server by taking a backup (.dmp) of the database and moving it onto the dev server. I ran the same query and found that it ran in less than a second. I took a look at the query execution plan and I found that they we're the exact same in both cases. Then I too ...Show All

  • Visual Studio 2008 (Pre-release) Which version of Windows Media Player for WPF (RC 1)?

    Which version of Windows Media Player for WPF (.NET 3.0 RC 1) should we use if we want to muck around with Video, Video Brushes etc and wmv files etc. cheers Good morning, Even with WMP 10 the "number movies" in all the "MediaGallery" skip frames, the vioce count is correct, but the video will skip all the odd frames for a while, then hit one, etc., it real jerky. could you take a minute and run the SDK GraphicsMM_Media/MediaGallery" program and tell me your results I wonder if I'm running everything in software, no hardware acceleration I have an $800 video card running DX9.0 How can I tell How can I make sure my customers will not have this problem Thi ...Show All

  • Software Development for Windows Vista Questions for a potential newbie

    I am looking into automation for testing purposes at a company that I just started working for. Since one of our applications is .NET, I wasn't sure how to automate the GUI until I found this forum. However, some questions/concerns have come up via various co-workers. First is the myth that .NET applications can't be automated. Next Wednesday I have to convince some other technical co-workers that it can (unless I'm mistaken). Also the concern came up that the developers will have to change their code to add Accessibility Functions in order to automate. I'm still trying to figure out if that's true or not, from what I've gathered so far, it doesn't seem like they need to change anything if they're using standard controls (compared to custo ...Show All

  • Visual Studio 2008 (Pre-release) Text Areas

    hi is there a component in wpf, that can accept several lines of code such as the text area in HTML thx thx anyways i managed to find out private string GetText(RichTextBox richTextBox) { // use a TextRange to fish out the Text from the Document TextRange textRange = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); return textRange.Text; } = new TextRange(richTextBox.Document.ContentStart, richTextBox.Document.ContentEnd); return textRange.Text; } http://blogs.msdn.com/jfoscoding/archive/2006/01/14/512825.aspx incase it is of help to you ...Show All

  • SQL Server Is it possible to install msde 2005 express on windows xp limited account?

    Hi, I would like to know is it possible to installing sql 2005 express edition on windows xp with limited account. I tried to install it. After installing, the service can not start. Is there any thing that I misconfigured Thanks for reading and answering my post. Thanks for your reply. I install it to a windows xp with administrator. After installation, I tried to create a new user with limited account. When I tried to log on to the new user with limited account. It show that the service can not start. I check the service at control panel. It stated that it already start. I do not know what it mean, can you please help me ...Show All

  • Software Development for Windows Vista Distributed Workflow using WF

    Hi, I have a sequential Workflow which consists of activities say, A B and C. I need to execute them in a distributed environment i.e. Activity A and C on Machine A and Activity B on Machine B. Is there a built in support to realize this in WF and if not, are there ways to realize this using the runtime services provided in WF Rgds Giri GiriKrishna, Yes you can implement such behavior using wait points(delay or handleexternalevent), where after activity A execution WF will be persisted. But you need to update your custom app specific store after completion of your activity A with this information that acitivity A has completed. After this as you said in your point 2), pass the instan ...Show All

  • Visual C++ Disable button toolbar

    Hello, How to enable/disable a button in a CToolBar Or do you have source code to insert or remove button in a CToolBar Thank you, Christophe, This question is outside the scope of this forum (the C++ language as implemented in Visual C++ 2005). You'll have a better chance to get an answer in the MSDN Newsgroups: http://msdn.microsoft.com/newsgroups/default.aspx dg=microsoft.public.vc.mfc&lang=en&cr=US ...Show All

©2008 Software Development Network