Gromey's Q&A profile
SQL Server An OLE DB error has occurred - Description: "Class not registered"
Hi I have a package the connection of which is defined in a config file. When the source is on SQLserver, the package executes fine but when i change the connection to Oracle then i am getting this error. TITLE: Microsoft Visual Studio ------------------------------ Error at DMND_PROBS_EXTRACT [Connection manager "DLWSDV18.PM"]: An OLE DB error has occurred. Error code: 0x80040154. An OLE DB record is available. Source: "Microsoft OLE DB Service Components" Hresult: 0x80040154 Description: "Class not registered". Error at DMND_PROBS_EXTRACT [DEMANDPROBLEMDETAILS [1]]: The AcquireConnection method call to the connection manager "DLWSDV18.PM" failed with error code 0xC0202009. -- ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Day 1 - Where you at?
So day 1 of the XNA madness has come to a close, with many more to follow. How far has everyone gotten on their first game projects I haven't spent nearly as much time as I wanted to on this, but I managed to get my head to bounce around the screen. I think the next step would be to add another head (i.e. angelina jolie) to bounce around. Maybe I'll even add collision detection so that if the heads hit, she says something like "I want you so much!" and I go "Yeah, whatever" and bounce. ...not sure if I should have mentioned the idea for this game...now everyone's going to steal it and make millions. But enough about my awesome game in the works. If anyone has anything worth checking out, upload it somewhere and post the link in this th ...Show All
Audio and Video Development Query About page clock behaviour
Hi to all, I have a doubt about the behaviour of page when the document.load() API is called. As far as I know, whatever changes have taken place on the markup page, all gets reflected when the document.load() is called, but does it also mean that the "page clock" gets reset. In one of my scenario, I am passing the event at the -- select=//body begin="1s" dur="1s" event=foo -- and in the script, I am calling document.load(). Will the page clock gets reset everytime it encounters document.load() and so the event will get fired continuously Please clarify this doubt. Thanks in advance Azaz I believe the page clock gets reset whenever document.load() is called as well as application.link(). The spec is a l ...Show All
Windows Forms Preview and search in PDF in Webbrowser
Hi, I am using in my application the webbrowser control for showing PDF files. But I have some problems: I am adding to the file parameters like search: file://..../myFile.pdf#search="xxx". Before I have install the last update of acrobat reader I got the search sidebar and see the search result. I have install the last update and I don't get the search sidebar and results. (Also I have tryed to put page index 2 and other parameters but it doesn't do nothing). Also I have check the other computers and get the some computers with same version doesn't work same. Also I have found that when I get the PDF file from Internet the search sidebar is appears in all versions of acrobat reader. So how can I solve my proble ...Show All
.NET Development tracing
Hi I would like to trace my application and put all messages in a text file. I use Trace.TraceError(""); Trace.TraceInformation(""); Trace.TraceWarning(""); methods and when TraceSwitch level is set to for instance Error all messages are put in a file Why I thought when I set TraceSwitch (ts) to Error only TraceError messages would be sent. I would like to change only trace level and certain messages should autmatically be put in a file. Should I use Trace.WriteIf(ts.TraceError == true,"..."); What for if TraceError, TraceWarning etc. When TraceLevel is set in config file everything is fine however when in the code it doesn't work. Ela You are confusing the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Render transparency with shaders
Hi All! I'm in the beginning of shaders programming. I've two shaders that renders two meshes with some nice textures effects This is my great render queue: setEffect1 drawindexedprimitive setEffect2 drawindexedprimitive Cool. Now, i want the second drawindexedprimitive to draw the mesh at the half of opacity, over the first mesh rendered with Effect1. Have i to modify Effect2 so that it supports some kind of alpha blending transparency Or is there some magic setrenderstate bunch of commands that do the trick Thanks in advance I've tried that before your answer, but shader can't compile (failed to validate technique). I also set AlphaBlendEnable = true; in the technique. This is the shader vbomb from nv ...Show All
.NET Development MSMQ public queue
Hi, recently i was trying to create public queues on a workgroup machine but i realised that i cannot create public queues on a workgroup. Only on domain but i am still not sure about this. And can i create a public queue remotely on another computer Say Machine A creates a public queue on machine B Can i add triggers programmatically Thanks I have a follow up question to this. I understand that cannot create a public queue within a workgroup, but you can create a private queue and allow applications to access it, provided they provide the IP address or the name of the computer. In the MessageQueue constructor documentation there are some hints on how to do this; however I am running ...Show All
.NET Development Problem Importing Data From Excel
I'm attempting to import data from a spreadsheet and I have the following problem. Some of the fields appear blank even though in the spreadsheet they have values further down the sheet. This is my connection string. conStr = "Provider=Microsoft.Jet.OLEDB.4.0;" & _ "Data Source=C:\Documents and Settings\mark.bosman\Desktop\test.xls;" & _ "Extended Properties=""Excel 8.0;HDR=YES;MaxScanRows=0;""" The rest of the data populates fine, but two columns containing integer values that are not populated till around the 150th row don't appear. Any suggestions That shows your connection string...but what about the actual import routine.. ...Show All
.NET Development Accessing Relational/Metadata with a Dynamic Schema
I've been tasked with writing a client interface for a dynamic schema. All the tutorials/forum posts/books I've read assume that you're working with a pre-defined schema; that you can connect to your database while developing. For me this is not the case. I've setup a test database in SQL Server Express; populated all my foreign keys, descriptions, constraints, etc. I'm writing the client in C#. From everything I've read, there is no possible way for me to poll for that relational information at runtime from the database. Is this correct (i.e. I can't examine a populated DataSet and see the relations). Also, I can't seem to access any of the caption/description information either. I was hoping to use the field descriptions as tooltips. Ar ...Show All
.NET Development UpdateGrams and Db schemas
Hi, I am trying to insert into a table using UpdateGrams and BizTalk something that I am quite used to by now. But never before have I tried to insert into a table that is not in the dbo schema on the database. This is how my UpdateGram looks like: < xml version="1.0" encoding="utf-16" > <xs:schema xmlns:tns="http://flan.com/lmo/ITEM3" xmlns:b="http://schemas.microsoft.com/BizTalk/2003" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://flan.com/lmo/ITEM3" xmlns:xs="http://www.w3.org/2001/XMLSchema"> <xs:element name="ITEM3"> <xs:complexType> <xs:sequence> <xs:element xm ...Show All
Visual C++ A 'TRACE' output
Here my codes: ------------------------------------------------------------ CString m_sTest = _T("Testing"); TRACE("Testing output: %s\n", m_sTest); ------------------------------------------------------------ What I thought its output should be -> "Testing", but in the output window(MVS2005) I saw that only the first character of m_sTest was shown: Testing output: T Anyone can help me to find where is wrong Great, it works! But could you tell the reason, what's the difference with "%S" and "%s" Thanks lot. ...Show All
Windows Live Developer Forums Using Msoft Access data arrays in VE
I am doing a proof of concept using VE to show staff and equipment locations from an internal webpage. I want to be able to call data from the resource database into VE to map these entries. Is there a solid array functionality that I can tap for this -Patrick PS: Brand new to forums and a (now) rusty coder so please be kind regarding my deficiencies! *grin* Unfortunately at this point, you can't use the VE map control to geocode addresses without also changing the map view. So you'll have to look at one of the conversion utilities, like MapPoint Web Service or one of the others. ...Show All
Visual C# static method - Is there any workaround?
I think most know we cannot declare a static anything in an interface. However, let's say I have this: public sealed class MyClass { private MyClass(string someText) { m_someModifiedText = someText; } private readonly static m_someModifiedText; public static MyClass Create( string someText ) { string modifiedText= ModifyText(someText); return new MyClass(someText); } private string ModifyText(string someText) { string modifiedText = someText; //do something to modify text return modifiedText; } public static string UsefulText { return m_someModifiedText; } } Now, this "sample" is just to keep it simple, but PLEASE just consider the concept rather than what the ...Show All
Visual Basic Ethernet Port Watcher
I am trying to write an application similar to file watcher, but instead of watching a directory I want to watch a wireless connection, as soon as the computer get connected to that specific connection an application will be automatically launched. any ideas Thanks. A Particluar Wireless network or any wireless network If it is aparticular wireless network for youc can identify the NIC by its Gateway addr then poll the nic for it's status. ...Show All
SharePoint Products and Technologies Installing sharepoint services 3.0 on the machine with sharepoint services 2.0
Hello, We are running windows sharepoint services 2.0 as part of Team Foundation Server. We would like to setup sharepoint services 3.0 on the same machine. Is it possible Thank you for answer regards Wojtek ...Show All
