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

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

csLearner

Member List

Lovericky
sunnny
Abraham Varghese
Bjorn EP Backlund
tampa_dba
Chiisana
ReneeC
ruijoel
Hans7
Darathar
Moim Hossain
Jeff-B
jaomello
Bingqiang
h1
Dave Staal
Gagandeep Singh
Nick Sheng
Josh Kinder
Eugene Ye
Only Title

csLearner's Q&A profile

  • Visual Basic Ctrl + Enter in WebBrowser control

    how do i allow the web browser to enable Ctrl + Enter so that one can just type google then Ctrl enter. i was tring to allow Ctrl + enter like in IE u can type google, then Ctrl + enter then, "www." and ".com" will be added. but i did it using a button already, in the button click event i did, the code maybe wrong but its something like that - i am typing from school, i don't have vb in this lab if txtAddress.text not like(" www.*.com ") then txtAddress.text &= txtAddress.text.insert(0, "www.") txtAddress.text &= txtAddress.text.insert(txtAddress.text.length, ".com") ...Show All

  • Visual C++ A clarification... NEWBIE

    Hello, I am a real beginner when it comes to C++... I need clarifications: When I do: Create Project Visual C++ Win32 Win32 Project [Ok] [Next] [Finish] That comes out to be a already made app that can run, exit, and an About Dialog Box... When I deploy that, will the client have to have .NET framework Or is it run natively (aka "Standalone") Thanks Keehun Nam No, this is unmanaged project which doesn't require .NET Framework. In VC++ project types shown by Application Wizard, only CLR projects require .NET Framework. All other C++ project types are unmanaged. For every VC++ version, client need to have VC++ Runtime Libraries installed. See details here: http://forums.microsoft.com/MSDN/ShowPo ...Show All

  • Visual C# Can enum inheirts from int?

    hi, I saw some code like this: public enum HARDWARE_KEYS: int [ HARDWARE_KEY1 = 193, HARDWARE_KEY4 = 194, ..... } I am just thinking, is there any use that it inherits from int Or what is the good for an enum inheirts from int Thanks. You can set the int type.  Like short, uint etc.  It just allows you to strongly type the enum and set how much space it takes up in a struct/class. ...Show All

  • Windows Forms Does a Java BorderLayout-like thing exist in C++?

    Hi! I have to design a form for an application, which components are only a label and a panel. Now I need that the label is located at the top of the window and the panel at the center. Moreover: 1) I want that there are not any "blank spaces" between the window border and the label and panel borders 2) the panel sizes are given run-time, and the other components sizes are modified consequently to fulfill the previous constraints. In Java, all this could be done with the BorderLayout command (eg: contentPane.add(panel, BorderLayout.CENTER); contentPane.add(label, BorderLayout.NORTH); ) . (I tried to use the "Dock" command, but id doesn't satisfy me because in this way I cannot modifying the size of the ...Show All

  • Windows Forms How to: indicate changed value in DataGridView?

    Hi, In a DataGridView I need to indicate cells having a value changed by the user. At the moment I use the CellValueChanged event to set the cell font to bold upon a change of value: private void dataGridView_CellValueChanged( object sender, DataGridViewCellEventArgs e) { DataGridViewCell cell = dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex]; cell.Style.Font = new Font (dataGridView.Font, FontStyle .Bold); } However the cell should also revert to normal (not bold) if the user happens to restore the original value. Where do I find the original value to compare with Is there a better way Note: the DataGridView's DataSource property is set to a DataTable loaded from a database. Your help will be much apprec ...Show All

  • SQL Server Script Source: Error on truncation etc

    I have a script source to deal with a source that has different "record types" (first 3 columns are the same then the remaining 2 to 30 columns are different based on the record type). Script source was working fine... then one of the columns that I had set to String with length of 2 came in with a length of 3 (which is not per spec)... instead of failing - all the columns after the one that had the bad value were null and the script just stopped as soon as it hit that.. AND said it was success.  Which means it imported the data incorrectly and since the script says it was a sucess you'd never know anything went wrong and it only imported 30 rows instead of 10k+ Any ideas on how to capture this error Code (shortened ...Show All

  • Windows Forms Install updates after the application start

    Has any one attempted to detect the app updates after application start inside the program Just wondering if application has updates, how do you apply the changes Do you close the application or is there an ApplicationDeployment method that does the update for you So far all my installations are all before application start and never done after the application start. Thanks. If this is a ClickOnce app you can use the System.Deployment.Application class to check for and download updates from within your application. After downloading update use the Application.Restart method to restart the new version of the app. For more info see: http://msdn2.microsoft.com/en-us/library/ms404263.aspx http://msdn2.microsoft.com/en-us/library/s ...Show All

  • Windows Forms Forms Authentication using C# 2.0

    Hullo, How can implement authentication in Window Forms using C# 2.0 to prevent authorised users. Any help will be highly appreciated. thanx Ronald ...Show All

  • Visual Basic Finding names of Excel worksheets using a dll middle-man

    Hi All, I am trying to find the names of worksheets starting with some kind of string, like "intrest" and then passing the array containing the names of all 'correct' worksheets back to the dll that asked for the information. As added information: I am starting a program using an Excel Add-in. That program later refers back to the Add-in for a couple of functions, the first of which is the one mentioned below. I tried to accomplish getting the names of worksheets with the following code in the dll, where the names refer to the following elements: objExcel refers to the Excel workbook activating the program sExcelFile refers to the .xla-file activating it sNameToFind is the string I am searching for ("intrest" for e ...Show All

  • SQL Server Oracle odbc driver on windows 2003 64 bit, SQL Server 2005

    God morning! I 've just installed SQL Server 2005 on Windows 2003 Server 64 bit. One of my databases need to connect to seveal Oracle databases. - I tried installing 64 bit Orcale 9 on this server. Got a strange message that the application (Oracle 64 bit) could not be installed on a 32 bit server! Strange! - I installed Oracle 9 32 bit on the server, but I could not find ODBC driver in the Data sources! Neither the oledb under providers in MSS Manager Studio! - Same result efter several desintall and installation. A college copied the .dll files och run a script to register the dll files. We could then se the Oracle driver in the Database sources, but we could not create any connection. - We have even tried an 10G version of Oracle with t ...Show All

  • Visual Studio 2008 (Pre-release) Problem composing a usable Path from seperate PathSegments

    Hi, I have an app that lets you draw PathSegment' s to a Canvas one at a time. Each time a new segment is created, I'm simply adding it to a new PathFigure in a common Path object. When it comes time to close the path, I then walk the PathFigure' s and place all the segments I into a single PathFigure, thus merging for example, 4 distinct segments that were held in four distinct PathFigures, into one PathFigure hosting 4 segments. Now I want to be able to manipulate this "new shape" on my Canvas , by dragging it around for example. However, a call to MyPath.GetValue(Canvas.LeftProperty).X for example, returns NaN, making it impossible for me to position it properly on MouseMove for example. (Where MyPath is of type Path [it ...Show All

  • Visual C++ Tracking MSDN cd number????

    We have a subscirption for MSDN, the guy that is managing the subscription is not availball and I need to install Visual studio on 64 bit machine, How do I found the CD number for that version. We have all the cd in arrange in order from 1-3500... Thanks Hello Re: Tracking MSDN cd number Such questions are outside the scope of this forum - for the scope of the Visual C++ General forum please look at: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=19445&SiteID=1 OTP thanks bite ...Show All

  • Visual Studio Team System Team System PIA Build Error

    Our BUILD machine has Team System Server on it. When I attempt to build my application on it that uses an Office 2003 PIA, I get errors. It builds fine on my development machine. I use DAO360.dll which VB then accesses the PIA DAO.DLL. The BUILD machine does not have Office 2003 installed on it, does it need Office 2003 to make a succesful build I tried using REGASM to register the PIA on the BUILD machine but it didn't help. Some of the error messages: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Common.targets(0,0): warning MSB3283: Cannot find wrapper assembly for type library "DAO". ...\modAccessVersion.vb(3,0): error BC30002: Type 'dao.Database' is not defined. ...\modAccessVersion.vb(4,0): error ...Show All

  • Visual Studio Team System Object Moved Error in Response from Web Server during Web Test

    I created a New Web Test and recorded a script. The script hits my login page with a username and password. When I record it works fine. However when I playback the script with 1 user (It is passing the correct username and passworD) I get responses stating "Object Moved" Please click here. What does this mean Also, we call our COM Object on login from ASP which I can see being instantiated when I record but on playback, the COM never runs... Any ideas None of the client side script on your web pages will be executed during playback, only the http requests will be made. It sounds like for your situation you'll need to write a plug-in or generate a coded web test off of your recorded test and th ...Show All

  • Visual C++ std::vector versus std::map performance

    I am curious if anyone knows about possible performance issues related to the use of the container template std::map, and particularly as it relates to std::vector's performance. I imagine there is good and bad usage of a map and/or vector, but would replacing a map with a vector offer any real performance gain (considering heavy usage) My worry is that we will replace an easy-to-read associative container (map) for one that uses magic numbers to associate elements (vectors) and get no gain from it. Jonathan Scott The vector and map classes are obviously somewhat different, given that map is associative and yield logarithmic time lookups, and vector is a sequence which will yield constant time looku ...Show All

©2008 Software Development Network