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

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

dseydel

Member List

Isaac Shloss
bzoli
MeniB
Roachy
GRK
Meng CHew
Raul Peña
RohitAtKA
Solent
Obrzut
techbd
Darren Fieldhouse
DDisco22
Escobar4Life
_CN_
LeoXue
Darren Baldwin
Tailor
lbugnion
lucerias
Only Title

dseydel's Q&A profile

  • Connected Services Framework SoapFaultException from CSFService participant - RequestResponse Operation

    Hi, I was trying to capture soapfaultexception thrown from a request-response operation, however I was not able to get soapfault notifacation routed to designated operation in my service. I tried by setting an explicit action for SoapFaultException, but could still not get it across. Following is the code for CSFService throwing SoapFaultException: [CsfService(Name="CSFTestService",Namespace="http://www.infosys.com/mtc/soa/csf3/" ) ] class CSFTestService : CsfService { [ Operation(Name="TestOperation" , Action= "TestOperation" , ResponseAction= "TestOperationResponse" , Oneway= false )] public void TestOperation() { Console.WriteLine(&q ...Show All

  • SQL Server OLE DB connections

    I have .net 2.0 framework and SQL V 8.0 on my web server. I am trying to create a DSN and I am not given the OLEDB provider for SQL as an option for my list of providers. Is there a download that will add this What do I do to get it Alternatively you could check out all these connection strings; http://www.connectionstrings.com/ carrier=sqlserver ...Show All

  • .NET Development Fill Dataset with SQL Query

    I have a typed dataset (C#) which i would like to fill up with SQL queries (ADO.net) the tables in the typed dataset have been defined and named. When i query the database, i can recieve only one table at the time to fill each table directly. Otherwise, if i use a query that gives back a few tables and i choose to fill the dataset directly, then the tables don't get filled with the table sets from sql query. instead, new tables are created automatically in the dataset and they are filled. Is there anyway i could query SQL database to get a few sets of results and then fill my dataset with the results directly in each corresponding table As opposed to having to fill each table individually, since with multiple results, dataset doesn't get f ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I'm Lost In Versions

    Hi, I'm Yesser. VB,VB.NET,C# Programmer. Lately I started thinking of making 3D games (It's the only field that I didn't involve into). But I had a problem that I don't know what I need to start programming. I was told to download DirectX9 SDK, but I couldn't because when downloading the Microsoft Website is not Writing the version but the date of release so I don't know what to download. Can you please help me or give me a like to the right Version ------------------------------------------------------------ Secoundly ,What steps shoud I take to get started . Thank you very much Download the latest SDK which is always linked from here http://msdn.microsoft.com/directx/ the current lates ...Show All

  • Architecture O/R Mapping

    O/R mapping is quite interesting.  I would like to post this question for discussion. I have the following classes: Employee, FullTimeStaff, PartTimeStaff, etc.  FullTimeStaff and PartTimeStaff have many attributes and behaviors in common and also many other unique attributes and behaviors.  So, FullTimeStaff inherits from Employee and PartTimeStaff also inherits from Employee. Do you think it is good to map both FullTimeStaff and PartTimeStaff to a single table called Employee (the table contains an extra field to identity whether he is full time or part time) in the database I have a table keeping all FullTimeStaff and PartTimeStaff and we also have a StaffType field to classify them. I have a staff ID to get a ...Show All

  • Visual Studio Express Editions Mysterious error: Unable to load DLL

    Hi all! I'm trying to use functions that are in a .lib file called NIDAQmx.lib under C#. As I've found out, it's quite problematic to solve that, 'cause a .dll is needed to be made from the .lib.. As so that I've been working on it for two days, but as I feel things are just getting worse.. So I made the .dll in visual c++ 6.0, and the same C# source code can load the .dll at my workplace, but not here at home.. Exactly the following: If I make the nidaqdll.dll like this simple one, it's okey here at home too: NIDAQDLL_API int fnNidaqdll(void) { return 42; } In the header file: extern "C" NIDAQDLL_API int fnNidaqdll(); With the line in the def file: fnNidaqdll @1 But if I make the dll by adding the following functi ...Show All

  • Visual Studio Express Editions [VB2005] Reading from serial port, pls help!

    Im currently working on serial port RS232 communication, im able to set configurations thru serial port to my device, but having problems reading from the port. Ive been advised that there're two ways of doing it, which include write the program so that the incoming data is stored inside certain file on computer and data can be extracted straight away from it..well another one, is extracting the data from the computer temporary memory.. but i have doubts regarding those methods and totally have no clue of performing the task, can someone please give me some guidelines of reading data from serial port thanks in advance! Hi Wensey, In the knowledgebase on our homepage you may find a small program for se ...Show All

  • Visual Studio Team System Different build.exe output when using prefast

    I'm trying out prefast for the first time, trying to get our current driver code to work with it. Compiling our code with "build -cgZ" produces the following output: C:\Prefast\engine_trunk\source\CRC32\src>build -cgZ BUILD: Adding /Y to COPYCMD so xcopy ops won't hang. BUILD: Using 2 child processes BUILD: Object root set to: ==> objfre_wnet_AMD64 BUILD: Compile and Link for AMD64 BUILD: Examining c:\prefast\engine_trunk\source\crc32\src directory for files to compile. BUILD: Compiling c:\prefast\engine_trunk\source\crc32\src directory 1>Compiling - crc32.cpp for AMD64 1>Building Library - c:\prefast\engine_trunk\source\lib.xruk64\amd64\crc32.lib f or AMD64 BUILD: Done 2 files compiled 1 library bui ...Show All

  • Visual C# Iterations through a Dataset/datagrid

    I am new to C# and dataset/datagrid processing. When saving any changes, I need to know how to iterate through changed rows to evaluate column contents for validation. The information I have at my disposal does not show any examples. Any help would be greatly appreciated. I found the problem. It was something I had hidden in the code. Thanks so much for your patience and help. ...Show All

  • Software Development for Windows Vista why is my application getting elevated?

    Hi, Strangely, even though i don't include "requiredAdministrater" in manifest file, it gets elevated. The executable file name doesn't contain any of setup, install or any of those words that vista uses for heuristic detection. Where else should I check to prevent elevation I'm using visual studio 2005 sp1. Thanks in advance. heuristic detection looks for more than just 'setup' and 'install' in the filenames. I'd suggest putting the appropriate requestedExecutionLevel in a manifest for the app (I'm guessing you want 'asInvoker'), if you can. ...Show All

  • Visual Studio Team System ReviewVisibleEventHandlers conflicts with Framework Design Guidelines if there's a security demand

    Hi, In Framework Design Guidelines, Section 5.4 Event Design (p. 135), it states: DO use a protected virtual method to raise each event. ... protected virtual void OnAlarmRaised(AlarmRaisedEventArgs e) { However, one of my implementations of the above has a linkdemand: [SecurityPermission (SecurityAction.LinkDemand, ControlAppDomain = true)] protected virtual void OnLoad (EventArgs e) { The linkdemand seems to trigger ReviewVisibleEventHandlers: "Warning 23 CA2109 : Microsoft.Security : Consider making OnUnload(EventArgs):Void not externally visible or ensure that it is benign code." If I remove the linkdemand, FxCop complains "OnLoad(Even ...Show All

  • SQL Server Slow Running Insert After Changing OLE DB Destination Data Access Mode

    Hello, In a Data Flow Task, I have an insert that occurs into a SQL Server 2000 table from a fixed width flat file. The SQL Server table that the data goes into is accessed through an OLE DB connection manager that uses the Native OLE DB\Microsoft OLE DB Provider for SQL Server. In the OLE DB Destination, I changed the access mode from Table or View - fast load to Table or View because I needed to implement OLE DB Destination Error Output. The Error output goes to a SQL Server 2000 table that uses the same connection manager. The OLE DB Destination Editor Error Output 'Error' option is configured to 'Redirect' the row. 'Set this value to selected cells' is set to 'Fail component'. Was changing the access mode the simple reason ...Show All

  • Visual Studio Team System BUG: Certain extended properties won't add

    These were all from one table and were added to ScriptsIgnoredOnImport.sql EXEC sp_addextendedproperty N'MS_Description', N'Instructor Created Homework Assignments', 'SCHEMA', N'dbo', 'TABLE', N'homework', NULL, NULL GO EXEC sp_addextendedproperty N'MS_Description', N'user_id of creator', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'creator' GO EXEC sp_addextendedproperty N'MS_Description', N'0 - type A 2 - type B 3 - type C 4 - External', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'homeworkformat' GO EXEC sp_addextendedproperty N'MS_Description', N'0 - type A 1 - type B 3 - type C 4 - type D 5 - Unknown', 'SCHEMA', N'dbo', 'TABLE', N'homework', 'COLUMN', N'exerciseformat' Nothing about them stands out that I can see a ...Show All

  • Visual C++ Calling .Net delegate from C++/CLR

    Hi, I am writing a managed wrapper arount native C++ code and I need to call C# delegates. The way I do it is to call the Marshal::GetFunctionPointerForDelegate function and get a pointer to the managed method, which I can call later on. This is with VS2005, my question is how to get the pointer with VS2003 and .Net v1.1 since the Marshal::GetFunctionPointerForDelegate function is available only under .Net v2.0 Thanks in advance. With great difficulty, apparently. It looks like you need to create two adapter classes--the first of which will marshal the .NET side of things (delegates), and a second class which will thunk the native side (function pointers). This article (from Nish) shows how to use the callback from EnumWindows. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Texture creation fails on XBox 360

    Can someone tell me why the following piece of code won't work on the XBox 360 I don't have an XBox 360 myself (and it will be at least 6 more months before I plan to afford one), so I can't test this at home. If anyone could tell me what's needed to make this snippet working, I'd be very happy :) // Look up the maximum texture size supported by the device Point textureResolution = new Point ( graphicsDevice.GraphicsDeviceCapabilities.MaxTextureWidth, graphicsDevice.GraphicsDeviceCapabilities.MaxTextureHeight ); // No larger than 1024 to avoid becoming a memory hog on systems // supporting insanely large textures :) textureResolution.X = Math .Min(textureResolution.X, 1024); textureResolution.Y = Math .Min(textureResolution.Y, 102 ...Show All

©2008 Software Development Network