P. RICHARDOT's Q&A profile
SQL Server cannot convert between unicode and non-unicode with SQL Server
I keep getting the error message below when attempting to import a text file (flat file) to an SQL Server Destination using SSIS. This database has recently been migrated from SQL Server 2000 (where I used a DTS Package that worked fine). I plan on doing further manipulation to the file after importing but have so far tried to keep one step at a time. I have tried using a smaller files and different tables but still get a similar response. I believe that the encoding of the text file is ANSI. If it is relevant the database collation is Latin1_General_CI_AS (the same as it was when 2000). Any help anyone can provide will be greatly appreciate ...Show All
Visual C# Options Form
hey ppl. i was wondering how to design an options form, for example the visual studio options form have a treeview docked to left, and when u select an option the content of the right panel changes, i think each treeviewItem useits own panel and when u select the threeveiw the panel changes, but this is very hard at design time, becasue if u have many options u need many panels, and i just want to know how usually the options forms are made becase its hard to set panels position and size when u work with many of them :P mig16 You could create each option view as a separate UserControl. That would allow you t ...Show All
Visual Studio 2008 (Pre-release) Getting Started with WPF But Can't
I have installed the upteen components required to take a look at WPF on an XP SP2 box. However, when loading a sample "lab" in VS 2005, a namespace error arises: " http://schemas.microsoft.com/winfx/xaml/2005 is not a recognized namespace." When I try to open a simple xaml file: < xml version="1.0" standalone="yes" > <Page xmlns=" http://schemas.microsoft.com/winfx/avalon/2005 "> <Button>Hello World</Button> </Page> IE automatically tries to open it and yields a very pretty error dialog: "Trust Not Granted" Thanks for any help! ...Show All
Visual C# Security exception unhandled when using DirectoryServices
I've recelty started writing c# code so I'm still kinda new at this. Anyway here is the problem. I installed visual studio 2005 and I'm trying to do an active directory bind statement. Here is my code for the bind: DirectoryEntry entry = new DirectoryEntry ( LDAP://mtmercy.edu ); But when this segment of code executes I get the debug error below: Here is the error: Request for the permission of type 'System.DirectoryServices.DirectoryServicesPermission, System.DirectoryServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' failed. The odd thing is that I tried this same bind code in visual studio 2003 ...Show All
SQL Server Getting Error 1935 when trying to install SQLXML 3 SP3
I have a Windows 2003 Server SP1. I have SQL 2000 Server SP4 running on it. I am trying to instal SQL XML 3 SP3 on this server. But the installation aborts midway giving an error.I got the following in the event log. Product: SQLXML 3.0 SP3 -- Error 1935. An error occured during the installation of assembly component {303994BA-6487-47AE-AF1D-7AF6088EEBDB}. HRESULT: 0x80070002. assembly interface: IAssemblyCacheItem, function: Commit, assembly name: Microsoft.MSXML2,publicKeyToken="6bd6b9abf345378f",version="4.20.9818.0",type="win32",processorArchitecture="x86" Please help. Thanks in advance Rupesh Nair ...Show All
Visual C++ Importing class from dll
Hi My problem is that I cannot import a class from a dll without an import library. Thank You, Attila. Just a few more details: I have found, and can use LoadLibrary, GetProcAddress etc. functions, but only for importing functions. What is the name of the function I should use instead of GetProcAddress for importing classes from my dll thanx, Attila ...Show All
Visual J# J# and SQL Server Problem
Hi, I am using SQL Server 2005 b2 and i want to integrate my J# project with SQL Server. .NET Platform compiles it. No problem there. But while i try to create assembly by referencing produced dll file, SQL Server gives that error: "Msg 6581, Level 16, State 1, Line 2 Could not find assembly 'vjscor.dll' in directory 'c:\'." What is the problem Thanks in advance... I solved the problem. There is a path problem and also PERMISSION would be UNSAFE. Path problem is solved by producing dll into the C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322. Is there any setting that gives me the freedom of ...Show All
SQL Server Multiple Columns in Parameter Field
Hi I have a report that has a number of parameters in it that the user must select prior to running the report. One of these parameters is the site_ref that they wish to use against the dataset. All my books point to the fact that if you wish, you can select what appears in the parameter field so the user does not get confused. So rather than the user having a list of site_ref which maybe useless to them, they can have a description next to each entry, e.g. site_Ref Estate_Name AL Aladdin's Cave TH & ...Show All
Windows Forms Major Smart Client Deployment issues
Ok I have read though alot of stuff. I have tried to do this two different ways (deploy though IIS). One way was to have an default.aspx page with a button on it. with code like this on the button click even. Dim Asm As System.Reflection.Assembly = Asm.LoadFrom("http://10.1.1.50/webdeploy/WebDeployTest.dll") Dim Obj  ...Show All
Visual C++ C++ calling C# Dll -> EEFileLoadException in debugger but works correctly if I just run from windows directly.
I have a C++ application usings a DLL written in <Managed C++> that connects to a web service. My code is : hAuthDll = LoadLibrary("AuthSrvClient_w32.dll"); authtx = (AuthTransactionType)GetProcAddress(hAuthDll, "AuthTransaction"); authtx("URL", "UserName", "Password", pData); MessageBox(NULL, pData->Response, "HERE", MB_OK); Theres also some error checking omitted. When I try to run the program thorugh the VS2k5 debugger it always crashes at the authx function call with : First-chance exception at 0x7c81eb33 (kernel32.dll) in House_Cpp.exe: Microsoft C++ exception: EEFileLoadException at memory location 0x00129e34.. The DLL is in ...Show All
Software Development for Windows Vista SDK Question
What languages does WinFX support Hi, WinFX supports English, German and Japanese. http://www.microsoft.com/downloads/details.aspx FamilyID=4a96661c-05fd-430c-bb52-2ba86f02f595&DisplayLang=en Thanks, Chris ...Show All
SQL Server Using custom assembly problem. Help!
I've created C# assembly which was included into Script Task code as following: -------------------- Imports DTX55AppDefaults.DTX55ApDefaults --------------------- The ScriptMain window recognize this assembly and can see all methods with no problem. The class View window see the assembly with whole list of methods with no problems. I build the code when ScriptMain window was open and save the code. Then I close window and run the package in Debug mode. Debuger throw out exception : "Error: The script threw and exception: Could not load file assembly 'DTX55AppDefaults, Version=1.0.0.0,Culture=neutral,PublicKeyToken=null' or one of its ...Show All
Visual Basic USB Communication
I am currently making a GUI application using visual basic 6.0 for a radio frequency project of mine. However i need to communicate to my hardware from my laptop (windows XP) through the USB port which i am not familiar with, Can anyone pls help You should be able to access the USB device through one of the COM ports. ...Show All
Visual Basic HTML Editor in Visual Basic - HELP
Hello everyone and anyone who is reading this. I would like to know how to build an HTML editor in Visual Basic. I really dont know where to start. If anyone could tell me how, or tell me what I need to know, any help would be very appreciated and will not go unrewarded. Thank you. wf.service@sbcglobal.net Original Poster" "I would like to know how to build an HTML editor in Visual Basic" Levyuk :"There is a way to edit a html page directly without having to program anything. " In my eyes these are two different things. It's sort of interesting but "guy" rather obscures that you're talking to a woman, and I appreciate the distinctiv ...Show All
Software Development for Windows Vista Rendering video from network
Hi Can anybody suggest a method to get live video from a network device.(A video server) either by using DirectShow or WMFSDk Hello We had alreadt bought a video server which will be attached to the video camera we are buying. The video server is from a comapny called Acti. IT is a small device. I have to write the program to get video(in mpeg-4 format) using a program and must display it in the user interface i had already craeted. Since the video server is connected to LAN , i don't know how to take video from that. Thanks a lot ...Show All
