Brain_Dead_Mind's Q&A profile
Visual Studio 2008 (Pre-release) How to make Database data binding in WPF web broswer Application??
Hi all: I want to connect my Xbap page with SQL database using SQL data Adapter and DataSet I try to do this but there is an error this error is: Startup URI: D:\walaa Work\XEmployee\XEmployee\bin\Debug\XEmployee.xbap Application Identity: file:///D:/walaa%20Work/XEmployee/XEmployee/bin/Debug/XEmployee.xbap#XEmployee.application , Version=1.0.0.0, Culture=neutral, PublicKeyToken=6b995c520c9daad7, processorArchitecture=msil/XEmployee.exe, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6b995c520c9daad7, processorArchitecture=msil, type=win32 System.Security.SecurityException: Request for the permission of type 'System.Data.SqlClient.SqlClientPermission, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e ...Show All
Software Development for Windows Vista About windowless mode
I feel difficult to realize windowless mode. In VS2005, I developed a MFC-dialog based application. On the dialog desk, I put a Picture Control object, and set a membership variable of it, CStatic m_hVideoWindow. My objective was puttting any captured video in this window. I define: CComPtr<IGraphBuilder> pGB; CComPtr<IBaseFilter> pVmr; CComPtr<IVMRFilterConfig9> pFilterConfig; CComPtr<IVMRWindowlessControl9> pWC; CComPtr<ICaptureGraphBuilder2> pBuild; CComPtr<IMediaControl> pMC; and initialize: HRESULT hr = CoCreateInstance(CLSID_FilterGraph, NULL, CLSCTX_INPROC_SERVER, IID_IGraphBuilder, (void **)&pGB ); hr = CoCreateInstance(CLSID_VideoMixingRender ...Show All
.NET Development Get signal strength in C#?
Is there a way to retreive the wireless signal strength Thanks, there could be a problem with the query perhaps or that may be the signal strength found, as I said I just translated the code for you into C# What happens if you step through the debugger and look at the locals/find out what the variable's have been set to, such as the currentObject["Ndis80211ReceivedSignalStrength"]) ...Show All
SQL Server Microsoft.Jet.OLEDB.4.0 Linked Server Transactions
Hi All, I am writing an interface between SQL Server and Access. I have chosen to use a linked server using the Microsoft.Jet.OLEDB.4.0 provider. One of the requirements is to have multiple SQL statements in one transaction, which is where I am encountering the problem. (see below) BEGIN TRAN INSERT INTO ACCES ... Table Msg 7390, Level 16, State 2, Line 2 The requested operation could not be performed because OLE DB provider "Microsoft.Jet.OLEDB.4.0" for linked server "HES" does not support the required transaction interface. I am having a really really hard time finding documentation on the Microsoft.Jet.OLEDB.4.0 provider, specifically I want to know for sure if it supports the ITransactionJo ...Show All
Visual Basic reading information in files
Hello again, I am looking for some help on accomplishing a certain task with VB2005 Here is what I want to do: I have a program that creates many, many files, I would like to be able to search those files for a specific piece of info contained in them and then evaluate it against a user set variable. For instance, I need to find a sting like this Z=-0.25, the user sets a numeric updown to let this program know what the smallest 'z' value can be, lets say -0.24. Since the above string is smaller than the numeric up down value, I need a message box to pop up showing that this file contains info that can hurt their machine. This is the code that I have so far: Private Sub btnRead_Click( ByVal sender As System.Object, ByVal e As Syst ...Show All
Microsoft ISV Community Center Forums OUTLOOK When trying to open Outlook, I get the following:
Microsoft Visual C++ Runtime Library Runtime Error! Program:C:\Progra~1\Micros~3\Office10\OUTLOOK.EXE Any ideas Thanks my outlook express will not accept my password and my email address!!!!!!!!!!! (ddilabio@hotmail.com ) ...Show All
Visual Basic Do Loops ?
I'm afraid I'm having a little bit of a brain fart here. I have a form where I am expecting a user to enter data and then press the add button to add it to the database. Before I add the record I want to ensure that they have entered data into all the fields. When they press the add button I'm calling an Edit() routine. My question is, what kind of loop do I need to use to check this I am displaying a message box telling the user that he/she has not entered certain data, then when they press OK it is checking it again and again . This should be so simple but I've been at it all night and my head isn't co-operating. Where should the loop be and which type should I be using. Thanks in advance. Tattoo ...Show All
SQL Server Lookup component - how detect multiple responses?
My package imports data and sends it through several paths to find an identifier. So far I have five different lookup and fuzzy lookup transforms set up to check the data and send the failed data to the next component in the data flow. Any data that is rejected by all of the checks is then put into a file for manual review. I have the flow working for success and errors. I have a third condition to check for - multiple results per row. I've set the maximum matches per lookup greater than 1 so I can capture and save ambiguous matches. That is, any time a lookup finds more than one match, I record each of the possible matches in the manual review table, then pass the data to the next component, in the hopes that selection may be narrowed ...Show All
Visual Basic problem with retrieving data from serial port
Hi; I try to retrieve 8 byte data from com 3 however it is not working properly. I dont know what is wrong with my program! Actually compiling does not give any error, however according to coming data, program should send a "y" stand for yes or "n" stand for no. Although I enter the correct data and expect "y", it sends "n" generally. As far as I understand there is a data loss caused by visual basic. Because when I try hyperterminal, it works fine. Plus, after a few try, it is locking up and program freeze and doesnt give any response. The complete code is below! Thanks in advance! visual basic code: Sorry, VB6 and the MSComm control is ancient technology and no longer supported. Try po ...Show All
Gadgets about Web.Network.createRequest(~~)
hi. i have a question about Web.Network.createRequest() first of all .. my code..below.. ============================================================= var M_ObjHeaders = new Array(); M_ObjHeaders["Application-Key"] = "humbroll"; var request = Web.Network.createRequest(Web.Network.Type.XML, m_url, {proxy:"generic"}, callBack, M_ObjHeaders); alert("test12-0"); request.execute(); alert("test12-1"); ============================================================= test12-0 is popup. but test12-1 not. i want to setting my header information in XMLHttpRequest with Web.Network.createRequest() method. my code is just follow API.. what's wrong im very nervous about your answer. please help me.gentleman. good luck. ps : sorry about my fool english ...Show All
Visual Studio Express Editions Newbie: Video tutorials and audio??
Are the video tutorials narrated I have no audio, i don't know if its just me or that there is symply no narration or audio. Thanks. Is there a codec that I need to use I've tried everything!!! All my other sound files work correctly. I have Media Player 11, this is the only file that is not working. Thanks ...Show All
SQL Server How to Refresh a Data Source View and autogenerate/Re-Deploy the corresponding Report Model
Hi everyone!, Our team is new to SSRS and we are trying to figure out how to refresh the data source view, autogenerate the corressponding report model and Re-Deploy the Report Model (rewrite existing Report Model) on the server on a periodoc basis or trigger the whole action whenever there is a change in the database on some specific tables. We prefer to do this action through a Agent job ( a diff approach is also welcome). Are there any stored procs out there Appreciate your time. -PN This won't be easy but I think it is possible. There is no eventing that RS provides to help you with this. The DSV schema information gets embedded in the model definition (under the <Schema> e ...Show All
SQL Server i'm sorry man no was my intention
i’m sorry my bad english i have a dts in sql server 2005 for example in sql server 2000 i can do that : over DTS right-clik choose option "Scheduled pachage" and this create a scheduled what i mean is that this produces a "JOB" what i mean is that i need to know how can to create a scheduled to DTS’s in sql 2005 Please anyone of you provide some solution for this. Thanks BSalvo. I added my SQL ID as a member of SQLAgentOperatorRole under msdn database. And now it's working well! I had to use SQLAgentOperatorRole because my SQL ID is not the owner of the SQL job. ...Show All
.NET Development WebService + SSL issue
I've created a simple ASP.NET Web Service named WebService1 with only one method (uncommented HelloWorld WebMethod). Then I've created a Windows Forms application invoking HelloWorld method of WebService1. Below is the Button1 click event handler of Windows Forms application invoking HelloWorld method: private void button1_Click(object sender, System.EventArgs e) { Service1 service = new Service1(); service.Credentials = System.Net.CredentialCache.DefaultCredentials; service.Proxy = new System.Net.WebProxy(); try { String s = service.HelloWorld(); } catch (Exception x) { MessageBox.Show(String.Format("Exception: {0}", x.Message)); } } IIS settings: Directory S ...Show All
Game Technologies: DirectX, XNA, XACT, etc. How do I load a 3d mesh (.x file)?
How do I load a .x mesh into my scene The space game seems to use its own format (which it names .swm), and there's nothing in the help. I've been scanning through through the classes in the Framework namespace, but I can't see anything obvious! Is .x the recommended format for objects like this (If not, I change my question to be about the recommended format :D) If anyone knows anywhere that has some nice .x meshes I can play with, that'd be cool too. The only one I have lying around is a chair, and that's going to look a bit funny running around my game :D Zumwalt wrote: So basically what you are telling everyone is don't bother with the SDK at the moment because it is pre-alpha still an ...Show All
