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

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

lingga

Member List

cosmmm
loopool
ahmadifx
Lisber
.net sukbir
ponchoelchico
ahmedilyas
T. RUIZ
ceilidhboy
jrboddie
Jonty-UK
Lamprey_
iKenndac
Urlik
JLesch
RyanB88
briggins5
kats
Bucketo
Shiva3Al!3n
Only Title

lingga's Q&A profile

  • .NET Development String and numbers

    Hi there. I would like to khow how can I use only numbers from the following string: T 30 35. From this string I want to use the two numbers as x = 30 and y = 35. T may be a dummy variable. I would appreciate if you could send me an example code. Thank you in advance. NM use substring string string=T 30 35; like this string a=substring(string,6,2); string b=substring(string,3,2); int number1=int32.parse(a); int number2=int32.parse(b); it is something like this may be there are some errors because I can not test my code .... but it try it with simple modifications... I hope this helps ...Show All

  • Visual Basic Dataviews - How to return just one column

    I Have a dataview which I wish to return just one column form the Customers table, I am completely stuck on this and any pointers would be gratefully recieved > custDV = MyDataset.Tables("Customers").DefaultView Returns the full table in the dataview and I would like to create another view from this with just the CustomerID column. Thanks in advance DMan1, Thank you for the reply. Unfortunately I keep getting the message" ToTable is not a member of System.Data.Dataview". Thanks ...Show All

  • Visual Studio VSS 2005 Command line: How to tell what local files need to be updated?

    Is there any way to tell from the command line (and from the front end for that matter) what files in my local directory are not the most current version and need to be updated from the server Richard Berg MSFT wrote: Unfortunately, VSS doesn't store the version # that clients have locally. The best workaround I can think of is to use 'ss diff' or the Project Diff feature in the front end. Actually "ss Diff <project>" includes a "SourceSafe files different from local files:" section. But thank you for pointing me in the right direction. ...Show All

  • Windows Forms Creating new forms using threads, and keeping then open after thread exit

    Hi there! I currently have a program that creates and displays a new form based upon a message sent by another application. The hierarchy of the threads are as follows: Main Application -> CommThread -> FormCreationThread The problem is that while the CommThread is a continuous thread, the FormCreationThread is temporary; once it creates the new forms, it ends. Because of that, once the FormCreationThread ends, it takes my new form with it. If I set the FormCreationThread to sleep or suspend after it creates the form, it also blocks the form from being used. What I'd like to do is have a way to create a new form from the FormCreationThread, and have it still alive after the thread itself ends. Any ideas on what I can do H ...Show All

  • .NET Development SortedList incorrectly(?) says key exists

    Hi, I get an odd result when adding two entries to a SortedList, where the key is a string: SortedList < string , string > list = new SortedList < string , string >(); string s1 = Char .ConvertFromUtf32(0x1700); string s2 = Char .ConvertFromUtf32(0x1701); bool equal = String .Equals(s1, s2); list.Add(s1, "First" ); list.Add(s2, "Second" ); When adding the second entry, an exception occurs saying that an entry with the same key already exists. The comparison though results in equal = false. I admit the characters are a bit strange, but they are defined (see http://www.unicode.org/charts/PDF/U1700.pdf ), although I can't see that should matter. I guess it has somethi ...Show All

  • .NET Development Determine either Remote File Size or Time Stamp of remote file over HTTP

    Is there a way I can use the System.net namespace to determine either the time stamp of a ...Show All

  • Visual C# C# Threads

    Hi, I have a problem with thread and i'm hoping someone can help me. I start a thread with the following code... Thread m_NewThread = new Thread(new ThreadStart(DoWork)); m_NewThread.Start(); The threaad starts find and executes the code within DoWork, for example: private void DoWork() { ... //Finished work so show thread finished ThreadFinished(); } Again it executes the code within ThreadFinished, for example: private void ThreadFinished() { .... //Thread has finished so show finish form and close frmFinished f = new frmFinished(); f.Show(); this.Close(); } Now this is where it goes wrong. Stepping through this code it show's the finished form as you can see it in the taskbar b ...Show All

  • Visual Studio Tools for Office Cannot use ListView in outlook 2007 form region

    ive managed to access an Olk type control from a form region codebehind page e.g. OlkTextbox. now i need to use a ListView control and to access that in codebehind but i cannot get this to work. is this possible yet with form region thanks You should be able to use any ActiveX control on a form region. For a list view do the following: Get into design mode on your form region. Bring up the Toolbox; you should see the standard controls showing at a minimum. Right click on the pallete of controls in the Toolbox and click "Custom Controlks..." in the popup. Scroll down and check the box on the "Microsoft ListView Control, version 6.0" control. Click OK and drag the Li ...Show All

  • SQL Server Access to the remote server is denied because the current security context is not trusted.

    Hello, In SQL 2005, from a stored procedure in a local database I am attempting to execute a remote stored procedure in another database on another server. I am getting the error referred to in the Subject when the local stored procedure tries to execute the remote stored procedure. A couple of comments: The remote database is set up as a linked server in the local database. As part of the linked server definition I selected the 'be made using this security context', and provided a local user name and password. The remote database is set to Trustworthy. I have tried every combination of WITH Execute As on the remote stored procedure but nothing works. I can query against the remote database successfully within Management ...Show All

  • Visual C++ CEDIT Base Class

    Hello all, It would seem that the Class Wizard wont give me the option of creating a new class with the base class of CEDIT. CEDIT does not appear in the pull-down. SvenC wrote: Which version of VC++ are you using You are talking about CEdit from MFC Did you create an MFC application and did you choose to add an MFC class CLR or ATL don't have CEdit. -- SvenC yes C++ is case Sensitive so Instead of CEDIT he has to use CEdit.and Second Thing what's The meaning of that ATL don't have CEdit ATL also provide the Functionality for Controls have a look in ATLcontrols.h Everything is There. Thanx ...Show All

  • .NET Development Nesting data from a excel sheet and update data to a sql table row by row.

    First of all I am new at ADO.NET. but I have some knowledge by reading a book and doing exercises. I have a solution where I read a row of data from an Excel sheet using excel inetrop code in VB2005, not using VSTO. I let user register large amount of data in a excel sheet and validate end then update. Program STARTS >>>>> = > Open and Excel ready to read mode -(Late binding) = > Open Database (Check that the database is open. do = =>Red a excel row validation on field level of each row == > Update SQL DB with SQL Command object ( one row) excelRow = Excel row +1 (Move to text row.) Loop until excel sheet is empty Progran Ends >>>>>> ...Show All

  • SQL Server Cannot read the next data row for the data set abc.

    Dear All. I am facing the above mentioned error quite frequently. I am using SQL 2005 reporting services and my database is in SQL 2005. I am using a stored procedure and pass the parameters to the SP through the report. The SP returns the results in about 4-5 seconds at max but when the report is run, it usually takes a long time for processing and then it throws the following error: Cannot read the next data row for the data set ABC. A severe error occurred on the current command. The results, if any, should be discarded. Can anyone from Microsoft please specify the exact reason for this error and how can we solve it Also there is another problem, some of my reports use SPs. When the SPs are run independantly, they return th ...Show All

  • Visual Studio 2008 (Pre-release) ObjectDataProvider and ConstructorParameters

    I want use an ObjectDataProvider and give a name as constructor parameter. I have a break point in the contructor, but when I run the program it never hit the point. The object is never instantiate. ObjectDataProvider definition :     < ObjectDataProvider x:Key = " DataBase " x:Name = " DataBase " ObjectType = " {x:Type src:MeasureTransfert} " >       < ObjectDataProvider.ConstructorParameters >         < system:String > Bras </ system:String >       </ ObjectDataProvider.ConstructorParameters >     </ ObjectDataProvider > Binding of the ObjectDataProvider :   &n ...Show All

  • SQL Server Dts Package foreach loop container and Excel connection manager

    How can I use a foreach loop container with an Excel connection manager. It is virtually impossible to configure the ConectionString property through expressions builder. Everything works fine with a Flat File connection manager but when it comes to Excel, I get the following error message: Error 1 Validation error. Extract Four: Extract Four [1]: The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0202009. Tarification.dtsx 0 0 Please ! Heeeelp ! tel me how I can loop through Excel files ! Hi, When you set up a foreach loop you can set the a variable mapping using index an index value of 0 to map to a preset variable of string type ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Making A Map

    I just downloaded XNA game studio. Im wondering how to make maps. Hi, If you mean laying out a tile map, then take a look at these tutorials, they should help you out a bit. http://www.xnaresources.com/pages.asp pageid=8 XNA doesn't do everything for you, but it makes a lot of things a whole heck of a lot easier. I hope this helps. Mike Polzin WilderLand Software ...Show All

©2008 Software Development Network