Phil South Africa's Q&A profile
SQL Server Error importing data from oracle database to an SQL database
Hi! When i was importing a database table from an Oracle Database to a SQL database table, the wizard returns this error: Could not connect source component. Warning 0x80202066: Source - VB_PERMISSIONS [1]: Cannot retrieve the column code page info from the OLE DB provider. If the component supports the "DefaultCodePage" property, the code page from that property will be used. Change the value of the property if the current string ...Show All
Visual Studio Express Editions Printing in VB! .. No one has tought me!
Hey guys, im doing some corcework but unfortunatly I havent been tought how to PRINT in visual basic. Ive soarted the program, its all finished, i have two buttons that want to print, but i dont know the code What i need to do PRINT BUTTON 1: This button will need to print the contents of panel1 and panel2 PRINT BUTTON2: this button will need to print the contents of panel3 I understand, if its not possible to do it that simple, but if you coul ...Show All
Software Development for Windows Vista Will there be a new GetOpenFileName API that wraps/calls IFileDialog?
Similar to the way PrintDlg calls PrintDlgEx behind the scenes in 2000/XP when you don't have a hookproc, is there going to be something similar where you call legacy APIs such as GetOpenFileName and somehow it encapsulates or calls down to IFileDialog (IFileOpenDialog) From what I saw in the PDC video here: http://microsoft.sitestream.com/PDC05/DAT/DAT307.htm#nopreload=1&autostart=1 there is a ton of COM client code that need ...Show All
Windows Forms In need of some help.... PLEASE!!!!
Howdy folks! I've got a question here. I remember seeing an article on MSDN on how to make a program, that will make your display name in MSN messenger change, depending on what you are listening to. COuld somebody be so kind as to& ...Show All
Visual Studio 2008 (Pre-release) How to get Count in GroupBy
I tried to translate the very common sql query Select Category, count(*) as NumberOfProducts from Products group by Category into linq syntax. I was able to write it like this: var orderGroups = from p in products group p by p.Category into g select new { Category = g.Key, NumberOfProducts = g.Count() }; Question: is there a O(1) way, to get the NumberOfProducts without using the Count()-Function running presumably O(n) Th ...Show All
Visual C++ c++ compilation strategy
Well .. this is probably not specific to C++ language. It is a more general question on the requirements of including headers, etc, and so sort of basic, of compilers. I have been looking at translation units and linking, etc. I learnt that there can't be duplicate identifiers in all of the translation units combined. If there are duplicates, it's a linking error. It can be avoided by using extern keyword for all the duplicate declarations of th ...Show All
Windows Forms Outlook Calendar Look and Feel - Corrupts Form Designer
I added the CalendarLibrary project (Outlook Calendar Look and Feel) to my solution. First I encountered the Serialization problem and used the fix listed here: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=167334&SiteID=1 I add a reference from my VB project to the CalendarLibrary project, add a new form to my VB project and drag and drop the Calendar control onto the form. When I build the solution I get this er ...Show All
Windows Forms Flicker and Crash problem in VS.NET 2005 Pro
I'm not sure if this is just me, but... Has anybody noticed an annoying problem in VS .NET 2K5 where you switch from code view to the Form Designer, and your mouse pointer starts flickering and changing among a few mouse pointers (ex. cross, hourglass, pointer, etc.) This has happened to me a few times already and I havent' found any other common denominator other than the switch from Code View to Form Designer. Thanks. Gerard ...Show All
Visual Basic Changing a control name takes up to 20 seconds
Hi I have a vb.net solution with 8 projects in ( 7 dlls and 1 exe ) When designing forms in the exe, if I change a control name ( in the properties window ) on any control, be it label, combo box or whatever, I get the hourglass for upto 20 seconds before I can do anything else As you can imagine, this is seriously hampering productivity. I'm working on a athlon 64 laptop with 1.5 gigs of ram Is this a known issue or is there ...Show All
Windows Forms Clickonce online problem : Cannot download the application
Hi, I made a small Windows forms app that I published with no problem as a disk install using clickonce. However when I tried to make that app available as an online only launch, I ran into problems. Namely I get a 'Cannot download the application. The application is missing required files. Contact applicatio vendor for assistance (sic!)" message. I notice something strange in the log : the url of the download start is correct ( ...Show All
Windows Forms Secrets of the BindingSource.Filter
I searched through the MSDN documentation and these forums, but found precious little about this undocumented, yet powerful feature: The new BindingSource.Filter property, from my experimentation, is a full-fledged secondary "where" predicate on top of whatever selection is done in the base query that is tied to a TableAdapter. Since the base query is not accessible (or is it ) for dynamic changes, this Filter is where one can dynamically cha ...Show All
Visual C++ Trouble trying to initialize an unsized string
I am getting "Access violation writing location 0x00000000" when trying the following m_pstrName = new char [strlen(n)]; the variable m_pstrName is declared like this char * m_pstrName What is going on. Hi, Oops, sorry my bad, actually strlen(NULL) is generating the problem. Max ...Show All
.NET Development Remote Access of COM+ component gives -- access denied -- error
I have a dot net component targeting a COM+service . From my mechine I can access the COM+ service successfully. When I move the client to a remote server with application proxy installed, I get "access not allowed " error. My COM+ application is a server application and network is not in a domain. My client is a windows GUI Application. Any work around Hi Jason, have you checked to make sure you're not hitting a firewall Tha ...Show All
Software Development for Windows Vista State machine usage
I'm trying to use a state machine workflow with sequencial workflows inside for modelling the process of writing media, example would be burning a CD (some steps like mounting, locking, preparing data, writing data, validating, unlocking, unmounting etc). The different states in the main workflow represents the state of the physical device, something like: Media_In eventEject eventMount ... Media_Out eventMediaIn ... Mounted .. Writing eventW ...Show All
Visual Studio Team System Problem with Team Build w/Webserivce / Site
I was able to successfully build a solution which includes a web service, web site (which references the service) and two testing solutions - This build configuration did not actually run the tests. I confirmed that the tests ran successfully on the local machine. I then ran the build again but requested that the tests be run. The build failed. This is a partial output from the build log: Target RunTestWithConfiguration: MSBUILD : warning ...Show All
