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

Software Development Network >> Corey Furman's Q&A profile

Corey Furman

Member List

Marcel de Vries
msaeedf
AratiR
Lluis B
Al33327
asalcedo
MatthewRay
TheMaj0r
John Cogan
sohaibi
jdang
Jakein2006
Bill_C
spot9969
NeW2VB
Sanjay Nayyar
kangalert
Dee-roc
Nick K.
Jim Hudson
Only Title

Corey Furman's Q&A profile

  • .NET Development Passing Windows Identity to multiple servers

    I have a web application that uses Windows Authentication. From this web app, I want to call a web service. Now the tricky part is that I need to pass the identity of the logged on user to the web service as well. There may be some code within the web service for which I want to impersonate the user who is logged on to the web application. Can someone suggest anything on this Please help.. Its urgent. You can either set Windows Authentication for the web service too or use WSE's kerberos token to pass user credentials. Hope it helps Rgds Rodrigo ...Show All

  • Visual Studio Express Editions Unusual install question

    I was wandering what I would have to do to beable to put the main folder (C:\Program Files\Microsoft Visual Studio 8) on a removable drive and beable to use it on another computer without actually installing it so it doesnt show in the installed programs list in control panel/add and remove programs. thanks for the info, that would be a nice thing to beable do. I usually have a day or two at work where im doing absolutely nothing, They dont want me to actually install anything but I thought it would be nice if I could bring VB to work with me on those days. ...Show All

  • .NET Development C# ADO.Net - SelectCommand Property

    Hi, I am trying to run the function below, private void btnQuery_Click( object sender, EventArgs e){ DataSet qDS = new DataSet ( "results" ); agentsTableAdapter.SelectCommand.CommandText = txtQuery.Text; agentsTableAdapter.Fill(qDS, "results" ); dgSpies.SetDataBinding(qDS, "results" ); } but getting the following error: Error 1 'QueryDemoProj.SimpleSpyDataSetTableAdapters.AgentsTableAdapter' does not contain a definition for 'SelectCommand' D:\Documents and Settings\Kevin\My Documents\Visual Studio 2005\Projects\QueryDemoProj\QueryDemoProj\Form1.cs 29 32 QueryDemoProj Can anybody help, please Thanks in advance for any help, Aldo. Hi there! First ...Show All

  • Software Development for Windows Vista GetTypedObjectForIUnknown worked on Xp but always failed on Win2K?

    My code was very simple, and I used the shell32.dll // pIUnknown points to shell32.dll obj = GetTypedObjectForIUnknown(pIUnknown, pTargetType); The exception was "Invalid cast..." What's the reason Thx. ...Show All

  • .NET Development Problem with 'Oracle client' and 'ODPnetOnly'

    Hi all ! I have both Oracle Client and ODPnetonly on my system. They have their different homes. If the path of Oracle Client (D:\oracle\ora90\BIN) is before the path of ODPnetonly (D:\odpnetonly\bin), then I have a problem. In this case, my web applications (in C#.net) don’t work but my console applications (in C#.net) do. And if I change the path of ODPnetonly before the path of Oracle, then my web-applications work but my console applications don't. So please tell me what is wrong with my system. Is there any problem regarding installation of 'Oracle Client' or ODPnetonly (I installed 'Oracle Client' before the ODPnetonly) Thanks and Regards, Vikas OK, I think I understand what is happening. While you ...Show All

  • SQL Server System crash

    Hello, From time to time, our production system crashes and reboots while running some data warehouse load packages. There is nothing in the logs; it just seems like the reset button is pushed. The situation occurs at different moments in the batch and not every night, but lets says once every two weeks or more frequent. We are running Windows 2003 server and SQL Server 2005 SP1 incl. hotfixes. Does anyone of you have this issue, or is this a hardware issue without any doubt Could there be any chance it's in the SQL Server software Regards, Jeroen Sean, Tom, Thnx for the reply's. Indeed it's quite a memory intentive package. I believe we even did some tweaking on the buffersizes in the pack ...Show All

  • SQL Server SQL 2005 bug? not follow the order by sequence in view...but SQL 2000 does!

    I have a table: CREATE TABLE [dbo].[tx1]( [f1] [nvarchar](50) , [seq] [int] IDENTITY(1000,1) NOT NULL ) ON [PRIMARY] SELECT * FROM dbo.tx1 ORDER BY seq DESC go f1 seq zz 1003 uu 1002 kk 1001 yy 1000 create view vx1 as SELECT top 100 percent * FROM dbo.tx1 ORDER BY seq DESC go select * from vx1 yy 1000 kk 1001 uu 1002 zz 1003 See the breaking changes and create view topics in Books Online for more details. http://msdn2.microsoft.com/en-us/library/ms143179.aspx http://msdn2.microsoft.com/en-us/library/ms187956.aspx You can also take a look at the post below for details on ordering guarantees in the engine. http://blogs.msdn.com/sqltips/arc ...Show All

  • SQL Server Log Reports

    Hi, Does Anyone has any idea that how do we extract the log reports that are generated whenever we run a package onto a text file , i mean the whole report rather than just a single message. vikram kansal wrote: Sorry just missed your post and posted again as i thought my previous post didnt get through as i got disconnected... I m not being rude ... OK, fair enough! vikram kansal wrote: secondly if i am correct the solution you are suggesting isnt it only specific to when i am running my packages via cmd and not by SSIS builder. Is there something in the SSIS where i can capture the log onto a text file as a routine task like clearing of target tables in Execute ...Show All

  • Visual C# [C++ to C#] -> Convert a char* to string

    Hi, I've an external library with a function that returns a struct struct in C++: typedef struct{ float pintura; float sustrato; float adherencia; char* codiErrorAdMalla; unsigned char * ImagenM; int alto; int ancho; }DatosAdMalla; I've the equivalent struct in C#: public struct DatosAdMalla{ public float pintura; public float sustrato; public float adherencia; public unsafe char* codiErrorAdMalla; public unsafe byte* ImagenM; public int alto; public int ancho; } First I tried to declare 'string codiErrorAdMalla' but then the function returns me a Pinvoke error!!! Now I want to convert 'unsafe char* codiErrorAdMalla' to 'String' but I don't know how to make it (Sorry for my english!!) ...Show All

  • Visual Studio Team System Data Driven Unit Test question

    There has to be an easy way to do this but for some reason I cannot find it. We have 6 different responses that we are expecting back for the data we send. We want to be able to adjust the distribution between the responses so I have seperated the data into 6 different tables and created 6 methods. The problem is that if I use the Data Driven aproach in the samples it runs through all the data in the table every time the test runs. I only want one set of data each time but still want to go through each row before repeating. Is there a way to setup the DataSource/DataAccessMethod to grab only 1 new row each time the test is ran instead of grabbing all the rows Eventually we are going to be using a 32 client load for an 8 hour perio ...Show All

  • Visual Studio Express Editions stdafx.h problems - a linking issue

    I'm not very familiar with how to use "stdafx.h" so I imagine this is the problem... I have my main entry point: // Tester.cpp : Defines the entry point for the console application. #include "stdafx.h" #include "Other.h" int _tmain(int argc, _TCHAR* argv[]) { printHelloWorld(); return 0; } ...and my header file: //Other.h #pragma once const char* str = "Hello World.\n"; void printHelloWorld() { printf_s(str); } ...and this works as expected. But if I replace my header file with the two files Other.h and Other.cpp below: //Other.h #pragma once const char* str = "Hello World.\n"; void printHelloWorld(); //Other.cpp #include "stdafx.h" #in ...Show All

  • Windows Forms Override forecolor in textbox.enabled = false on windows form

    Is it possible to override the change in forecolor when setting a textbox to enabled = false   I would like the control to be disabled but display normally.  I have been able to set the backcolor to white, but it seems to ignore the forecolor setting and leave it as pale grey. Alternatively, is there another way to disable the textbox without using the enabled property Set the ReadOnly property to True. This helps preventing interaction: private void textBox1_Enter(object sender, EventArgs e) { SendKeys.Send("{TAB}"); } ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. C# Express SP1 - Need to install?

    I see that the first Service Pack for all the Visual Studio editions has been released. As users of GSE/C# Express, should we be installing SP1 I'm guessing Yes, but not seen anything in these forums about it so far. errolian wrote: I see that the first Service Pack for all the Visual Studio editions has been released. As users of GSE/C# Express, should we be installing SP1 Yes. Several bugs that directly affect XNA GSE are fixed in VS 2005 SP1. Plus, SP1 fixes many issues that make VS 2005 incompatible with Vista (XNA GSE is still not supported on Vista, but SP1 is a big step in the right direction). --Stephen ...Show All

  • Software Development for Windows Vista Application fails to start under Vista: "A referral was returned from the server." Manifest problem?

    I'm working on migrating a driver management application (written in Visual C++) to Vista. It requires access to HKLM, so it needs to run with admin access permissions. For testing purposes, we've been modifying secpol.msc to run it in admin approved mode, but obviously, that's not the right thing to do. The right thing to do, from what I can tell, is to add a <trustInfo> tag to the application manifest (which is embedded in the .exe as a resource). I did that, but now the application fails to start under Vista at all, with the error message "A referral was returned from the server." It still works fine under XP. The manifest is pasted below. Does anything look obviously incorrect If not, is there anything that could interact badly w ...Show All

  • Windows Search Technologies Unable to cast COM object of type

    Hello, I tried to a function wrapper for my website which calls ExecuteQuery(...). I got this error when I tried to display the output from the internet browser: Unable to cast COM object of type 'Microsoft.Windows.DesktopSearch.Query.SearchDesktopClass' to interface type 'Microsoft.Windows.DesktopSearch.Query.ISearchDesktop'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{A227843C-1D92-48BC-AED6-DCA566F1790E}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)). Any hint Fokus Unfortunately the current version of the SDK doesn't provide the necessary proxy stubs to support calling from certain contexts (includin ...Show All

©2008 Software Development Network