Dark Pontiac's Q&A profile
SQL Server cannot connect to integration services
When i try to connect to SQL 2005 integration services from object explorer i get connected (in the sense it shows in object explorer running packages stored packages ..)but when i try to exand any of these objects i get the following error -------------------------------------------------------------------------------------------------- Failed to retrieve data for this request(Microsoft.sqlserver.smoEnum) Additional information The sql server specified in SSIS service configuration is not present or not available.This might occur when there is no default instance of Sql server on the computer. For more information see "config integeration services" in server 2005 books online. Login time out expired An error ha ...Show All
Visual Studio Express Editions User Control
The small project that I've been working on is now finished and I'm rather pleased with it. Thanks to the help on this forum it works just as I wanted it to, so much so that I thought it I would have it as a control so that I can use it in future projects. Looking back at a my previous post on how to create a user control I got stuck in and up to this point all well, however, I have hit a couple of sticking points, quite a bit of the code that I pasted in to the user control had squiggles which, after following the error correction tips I've sorted but there are two where no tip is available and these are the two that I am asking for help with. 1) Label1.BackColor = Color .FromKnownColor(cmbSelected.SelectedIndex + 28) Name 'Color' is not ...Show All
Visual C++ Linking an app in debug mode (with /MDd) against static lib built in release mode (with /MD)
I remember this sort of mixing used to work fine prior to VS2005. But now it doesn't seem to. This suggests that one has to have a debug and a release versions of each library to be able to compile a debug and a release version of the application. The following short example results in an access violation exception: Compile A.* into a.lib in release mode with /MD (it doesn't matter if compiled with or without optimization): File A.h: #include <vector> class A { public : std::vector< double > v; A( int x) {} ~A(); }; File A.cpp: #include "A.h" A::~A() { } Compile app.cpp in debug mode with /MDd: File app.cpp: #include "A.h" void main() { A a(4); } The ex ...Show All
Windows Forms Auto Close form after time - VB, VS-05
I'm having trouble getting the basic idea of the "Timer" function. I'm using Visual Studio 2005 in a VB environment. It sounds simple, I have a custom made "about form" and I would like to have it close automatically after a set time period, I guess a timer can do this. Could someone point me in the right direction Thanks Daniel 'fred' Munro Try something like this in your About Form Public Class frmAbout Private Sub frmAbout_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim T As New Timer T.Interval = 5000 T.Start() AddHandler T.Tick, AddressOf CloseMe End Sub Private Sub CloseMe(ByVal sender As Object, ByV ...Show All
SQL Server Newbie Advice Installing SSRS
Hi, I've decided to install SSRS (2005) on my windows XP machine. I'm not very familiar with IIS (i'm currently using version 5.1) and I think between IIS and SSRS, i've managed to break something. I've been looking at various articles to try and get some clarity on my predicament. However, i'm not getting any joy with them.s I have located the logfiles (which I can provide). Unfortunately, I have no idea how to intepret the information contained therein. Can anyone help Many thanks in advance Clint Hi Sharmila, out of interest does specifying both make a difference You clearly seem to imply that it does, I was just curious to know. I'm going to try it now. Regards Clint ...Show All
Visual Basic Compilation error
Hi ,I get an compile error , cannot find a project or a library ,with the following line highligted in the code ,Implements ISubclass. Do you have the implements statement on your properties, sub, or functions Public Interface ISubClass Function MyFunction() As Integer Sub MySub() End Interface Public Class TheTestClass Implements ISubClass Public Function MyFunction() As Integer Implements ISubClass.MyFunction Return 0 End Function Public Sub MySub() Implements ISubClass.MySub End Sub End Class ...Show All
Visual Studio Express Editions NewWindow Event of WebBrowser Control...
Hi, i am using vb.net 2005 In the WebBrowser , how do i get the url to which it is navigating to when the NewWindow event is fired. In VB6 it was available for the Webbrowser control as bstrurl in the NewWindow3 event. I referred to the post at http://forums.microsoft.com/msdn/showpost.aspx postid=7228&siteid=1 But that code is too long I just want the Url , that's it.. Pleaes help me out... You may consider that code to long...but the answer to your question is in the extended NewWindow event...The code is there in that post and you can pull out what you dont want to use If you want to get the URL of the New Window then you will have to use the ExtendedNewWindow ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Using Webcam in XNA?
I've managed to easily create games that interact with feeds from a webcam on another platform. But is there a native class that is easily available in XNA :p Thanks! ...Show All
Visual Studio Express Editions Need to bind data from SQL server 2000 to textboxes and also be updated when other users change data
I'm trying to move away from working in microsoft access and try and work with SQL Server. I'm going to be storing around 50K records of data in a table within SQL server at first. I tried using the visual studio.net Dataset control to create all my bound fields in the set, but what I noticed is the connection is not continually connected to the source. I will have several users using this app, and each could be updating any record at any time, and I need and update to take affect on the server right away and the next time someones accesses that record will see the update. What I have found out is that the DataSet created is only a copy of the Data at that moment and then the connection is closed, so no telling if anything was updated. ...Show All
Visual Basic Iterating through a list of folders
Hello all, SUper Noob here. I have a very basic question regarding iteration through a list of folders that I need to search. The object of this program is to look for files older then 10 days old in a given set of folders. As much as I dont mind doing if statements for each folder object I specified, I would like to be able to grow the list and not have excessive code. Anyway, any and all suggestions would be greatly appcriciated. Thank you and take care. This is what I have now: Sub Main() Dim fso, Efile, EFolder1, Efolder2 fso = CreateObject("Scripting.FileSystemObject") EFolder1 = fso.getfolder("C:\temp2") Efolder2 = fso.getfolder("C:\temp3") For Each Efile In Efolder2 ...Show All
Visual Studio Express Editions How do I pass the data from a web page to Excel file?
Hi, I am trying to pass the window logon username into an excel file after clicking "SUBMIT" button on a web page. However, the codes did not work. It did not append the usernames after one another. Can advise what has gone wrong Thanks in advance. <HTML> <HEAD> <TITLE>Your Handbook : Code of Conduct - Page 7</TITLE> <!-- Creation Date : 06/07/2006 --> <link rel="stylesheet" href="/styles.css" type="text/css"> </HEAD> <BODY BGCOLOR=#FFFFFF TOPMARGIN=10 LEFTMARGIN=20 BOTTOMMARGIN=8 RIGHTMARGIN=10> <INPUT id=button1 name=button1 type=button value=Button> <SCRIPT LANGUAGE="VBScript"> sub button ...Show All
SQL Server Records from internal Table not output in order to flat file
Hi - I have a SSIS package that dumps data from an internal table to a flat file output using standard data flow tasks. The entire table is output - no special SQL. Most of the time the records are placed in the output file in the same order as the internal DB table, but occasionally the order appears to be more random. When that happens, the record order in the internal table is correct - it is just the output. I can find no properties that seem to affect this. I would appreciate any hints and advice that anyone can give me. Has anyone else encountered this same problem Thanks in advance, Jim Sweeney Hi Jamie - The Data Flow only has a OLE DB Source task and a Flat File Destination t ...Show All
.NET Development System::Resources::MissingManifestResourceException
I recently changed computers, and the first program i write with my new VCPP turns up with this error when i run it: [error] An unhandled exception of type 'System.Resources.MissingManifestResourceException' occurred in mscorlib.dll Additional information: Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "form.main.resources" was correctly embedded or linked into assembly "main" at compile time, or that all the satellite assemblies required are loadable and fully signed. [/error] on the line [code] this->newToolStripMenuItem->Image=(cli::safe_cast<System::Drawing::Image^ >(resources->GetObject(L"newToolStripMenuItem.Image"))); [/code] (g ...Show All
Windows Forms Refreshing listboxes
hi guys,need help here currently i'm displaying data from sql server 2005 database using a listbox i binded a dataset to it and it does display the items i want displayed,but the problem is i do not know how to refresh the list immediately when a data is added to the particular table any solutions thanx in advance Hi, i had the same problem. I solved the problem by dataset refreshing. SqlDataAdapter has property "AcceptChangesDuringFill". So I set this property to true and fill the dataset again . dataset.Clear(); adapter.AcceptChangesDuringFill = true ; adapter.Fill(dataset); listBox.Refresh(); I think this is not a best solution. But I don't know any other y ...Show All
Game Technologies: DirectX, XNA, XACT, etc. other operating systems?
will XNA ever be available for linux, mac, or other c'mon at least mac! Microsoft hasn't said anything about it by now but historically, DirectX has never been deployed for any other OS than Windows. Now DirectX will be accessible also for XBOX 360 through XNA but I don't have any hope to have DirectX for Mac, Linux or solaris. However very recently Microsoft signed a contract with Novell (the developer of Suse Linux, Mono technologies, Openoffice and others) in which for a period of five years both are to work together. The reason is that like you or me, developers want Xplatform solutions and that means developing a program once and being able to run it in all systems. Mono has long been the alternative ...Show All
