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

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

Laurent87471

Member List

GJK
U_T_A
John Oriente
ChrisMoje
clint 2
ssfftt
SteveJB
Tsayers
Nima_DK
Sam Vella
Norbifier
pyeung
MrLucky
Tim Tyhurst
MedicineMan
Seefer
Zubair Masoodi
SrinSree
hazz
Suman#SS
Only Title

Laurent87471's Q&A profile

  • Visual Studio 2008 (Pre-release) Return a strongly type DataTable problem

    I have a method which will return a strongly type DataTable in WCF service. While calling it in client it will return a new DataTable but in fact it should return 5 records. Anybody know what happen and how to resolve it Thanks, Zhihao For example: I have a method named "GetCode" in service: public TFDataSet.T_CODE_TABLE GetCode(). it will return 5 records normally from DB. but now it return 0 records. I don't know why ...Show All

  • SQL Server RDA Pull method not creating tables/inserting data

    I can't see what is going on, this is the situation: I call the Pull method, specify the table to be affected, the query to be used, the connection string to the remote SQL server , the tracking options (On) and the Error table. The pull method executes with no errors however, no table is ever created. I don't know why, here's what I have done so far: I read the SQL BOOKS ONLINE help on preparing RDA, I set up the IIS virtual directory for anonymous access and on the connection string I send in the user name and password for the SQL server , I went into the SQL Server and grated access to the user name to the database that I am going to access and I made the user a db_owner. So, according to SQL BOOKS ONLINE I have everything right however ...Show All

  • SQL Server SQL Server Express: Configure concurrent multi-APPLICATION access?

    Hi Everyone, I have a software solution that consists of two separate applications that share a SQL Server Express database on a single computer. Everything is working great, except when both of the applications want to access the database at the same time. All I can find is information on configuring multi-user access in a distributed system. I'd appreciate any information on configuring multi-application access on a single computer... Thanks, Mike A Lesson in User Instances Here is what I have learned after researching my situation. The following summary came from a great article at: http://msdn.microsoft.com/sql/express/default.aspx pull=/library/en-us/dnsse/html/sqlexpuserinst.asp I h ...Show All

  • Visual Studio How do I setup WSS extensions so that a user account OTHER than administrator can deploy web parts?

    I have installed Sharepoint Services and Visual Studio 2005 Professional with the WSS extensions so that I can develop web parts. I have two users on the box, the Adminstrator and me (jstr) I have set my user account up to be a member of adminstrators, and although the Administrator created the Sharepoint Site Collection, JSTR is listed as number two, and can do everything on the Sharepoint sites that the Administrator can. When I create a simple "Hello World" type web part, the web part deploys perfectly if I am logged in as Adminstrator. If I am logged in as JSTR, I get "no sharepoint exists at the specified URL". This is the same project just running out of two different logon accounts. I am baffled. I'd rat ...Show All

  • Visual Studio 2008 (Pre-release) Distinct extension method : different result with anonymous type or "static" type

    Hello, I need to return the result of LINQ queries across layers (even between components of the same layer, or from a method call) : as stated in this post , the only (maybe am I still wrong ) safe manner is to return an IEnumerable of what Keith called a “Data Contract”. The problem I got now is that I want to “filter” my result-set with the Distinct() extension method and see that the behavior is not the same if I use an anonymous type (method 2 in my code) or a type I explicitly define (method 1). I think that it is perhaps because anonymous types use some kind of default IEqualityComparer, different from the one used with my defined type. Am I correct If so, how can I use the Distinct() signature with an IEqualityComparer I ...Show All

  • Smart Device Development WebException: "Could not establish connection to network."

    Hi, My Windows Mobile 5.0 smartphone app throw this exception "Could not establish connection to network." when it try to talk to another local http server on my laptop. I have spent many hours going through online help to find a solution for this problem without success. I have installed the loopback adaptor as suggested and also configured the smartphone emulator through vs 2005 Tools->Options->Devices ... to select the NE2000 loopback adaptor. I have also tries configuring the loopback adaptor for static ip as well as dynamically assigned by server without success. I also have vs.2003 installed on the same laptop. There used to be a beta 2 version of vs2005 which was uninstalled and now I have a official release ve ...Show All

  • Visual Studio Express Editions Display a form

    Hi, I am having some trouble displaying a form, I have done it many times before but this time it is not working: here is my code: helpform frm = new helpform(); frm.Show(); and come up with the following errors: Error 1 The type or namespace name 'helpform' could not be found (are you missing a using directive or an assembly reference ) Error 2 The type or namespace name 'helpform' could not be found (are you missing a using directive or an assembly reference ) Any Help Hi CazaD, Have a look at the properties of the HelpForm and look at the name propertie (this maybe typed or spelt differently to what you belive it is). Then of the form that you are trying to load the HelpForm from you should be ...Show All

  • Visual Studio 2008 (Pre-release) Retrieving a pair of entities using Dlinq

    Using Dlinq, I try to retreive two entity class ( two tables from sql server database) from the query below. var xx = from a in DB.T1 from b in DB.T2 where a.ID == b.ID select new { a , b} ; foreach( in xx){ . . . { The return entities should be a sequential pair for the two tables. What should I put for . Using either you place the class 'table' type or var. What about a pair of entities Thanks. Regards Alu Alu, In your query, you have > select new { a , b} ; The result is an IEnumerable of an anonymous type - a compiler-generated type whose name you can't say. Each item in the IEnumerable has two references - one to an object of a's type and another to the object of b's ty ...Show All

  • Visual Studio Express Editions Restricting input in a text box

    Hi, how do i only allow numbers to be entered into a text box on the keypress event of the textbox (look through the events property window in the form designer and add it/double click) you check the key being pressed. Now you try to parse the key to see if it is an integer value, if so, then accept it 'your keypress event code: if Char.IsNumber(e.KeyChar) = false then e.Handled = true end if does this help ...Show All

  • Visual C++ strange error

    Hi, I installed VC++ 2005 and it worked fine. Then, after installing Apache, MySql php and a couple of other programs it started giving me this error message after building an executable: ------ Build started: Project: 16PF, Configuration: Debug Win32 ------ Linking... Embedding manifest... The system cannot find the path specified. Project : error PRJ0002 : Error result 1 returned from 'D:\WINDOWS\system32\cmd.exe'. Build log was saved at "file://e:\program\16PF\Debug\BuildLog.htm" 16PF - 1 error(s), 1 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== The executable is ok.Any advices about how to resolve the problem or maybe how can I make the IDE generate a more verbose output ab ...Show All

  • .NET Development Can someone explain to me what is the real world use of ExecutionContext?

    All I read was that this it is really an encapsulation of the call context, security context etc of the current thread. looking at the documentation, found that there are methods like SuppressExecutionFlow suppresses any security permissions /restrictions that otherwise would have been automatically (by CLR) tranferred to a say worker thread from the main thread. But why would you wanna do that I guess what I am asking is that has someone really found a use for this class. If so, can you please share the experience/scenario. I am curious. Is it used in normal code No. It is, however, heavily used by the framework. It is used for the thread pool, database connections, async calls, the System.Net namespace and even Thread.Start . I ...Show All

  • .NET Development help me out please....

    hi all i would like to upload a image into a sql database am using asp.net 2.0 i got the code form the net i edited it and using in my form when i execute my code it s showing me this error.. null reference exception was unhandled by the user.. object reference not set to an instance of an object .. here is my code for it... here s where i get the error(marked in red) itself in the first line am getting error Dim ImageStream As Stream = ImageLocation.PostedFile.InputStream Dim ImageData(ImageLocation.PostedFile.ContentLength) As Byte ImageStream.Read(ImageData, 0, ImageLocation.PostedFile.ContentLength) Dim sqlConnection As New SqlConnection("Data Source=WINSERVER;Initial Catalog=wf10;Persist Security Info=True;User I ...Show All

  • Visual Basic WScript is missing/broken

    Hi I have an app I built a while ago under Win2000, but have since "upgraded" to XP.... It appears to compile just fine, but when I run it on another machine, I find this in my log: Public member 'exec' on type 'IWshShell2' not found. Meanwhile, back in my IDE (either VS 2003 or 2005, same thing), the only thing that shows up in the autocompletion for oShell, after creating it like this... is "GetType" oShell = CreateObject("WScript.Shell") obj = oShell.exec(strExec) Note that the .exec remains lower case. It's like I'm missing a reference to whatever the WScript.Shell is in. Any ideas At this point I'm seriously considering chucking this entirely and starting over with java. Thanks ...Show All

  • Visual C# How can I replace all occurance of a string except when it's enclosed with a special tag?

    Hello, Let's say I have a variable named: someVar which contains the following: href wow nice this <a href="cp.com">cow duck john</a> text etc And I want to replace: "href" with "link". I can't do: someVar.Replace("href", "link"); Because that will change: <a href="cp.com"> ! So, how can I replace all the occurances of "href" when it's not part of an HTML tag Please help. hi, my belowing sample can run on your sample string using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; namespace ConsoleApplication2 { class Program { static void Main(string[ ...Show All

  • Windows Forms taking variable from Public Form1()

    how can i reach initial variable from functions_ public Form2() { InitializeComponent(); string[] dizi = Directory.GetFileSystemEntries(@"d:\deneme\"); int tanedosya = dizi.Length; kayit[,] b = new kayit[tanedosya,300 ]; //her olcumun 7000 olcum de eri olabilir b=sinifa_gonder(b); } public void k() { i need "b" in here.. } ...Show All

©2008 Software Development Network