adorablefaith's Q&A profile
Visual C++ C++/CLI Compile Error
Hi, I have some code that compiles and works fine in C++. I am in the process of attempting to use this same code in a C++/CLI project. Been working through various compile issues. This one is pointing me into the map, do not want to mess around with that code. Anyways, the error I get is, C3699: '&': cannot use this indirection on type xmlDictionary::DictionaryData. My class that I am working with is named xmlDictionary. DictionaryData is a struct, ref struct DictionaryData{ std::string value;// error here also ValueType type; }; The offending line of code is, std::map<std::string, DictionaryData> m_data; I am thinking it is STL related. Any direction would be appreciated. Thanks Jeff ...Show All
SQL Server How to restrict a custom component to be used only in the event handler tab?
Hi, One of my plan is to develop a custom task compoent to log the errors into the destination provided as paramter to the component. Now how can I restrict the use of this component in the event handler tab only. can something like this be done Also extending this a little further, is the below thing possible The custom component should expose custom properties which should allow the user to add the destinations for logging the errors. It will be a predefined list (window event log, text file, sql table etc) and the user will be allowed to check what all he/she wants. Then if the user has selected sql table then ask for the oledb connection and the table name, if text file is selected the ask for the path of the file. Apology ...Show All
SQL Server SQL 2005 Enterprise edition The image file Setup.exe is valid, but is for a machine type other than the current machine
Hi All, I have enterprise version software CD1 and CD2 of SQL server 2005 when i try to run setup.exe..the following error pops -up The image file Setup.exe is valid, but is for a machine type other than the current machine MY OS version is windows 2003 32bit Operating system... I am suspecting the binarie may be of 64bit.. How do we check the binaries are 32 bit and 64 bit software Thanks for your Help Mohan I have similar error to the above when installing SQL2005 Etnerprise Edi 64 bits on the machine in Itanium 2 64 bit. Hence I am unable to install The Error is as below: {Pop up window: Internet Explorer Scripts Error} Line 215 Char:3 Error: The Image file %1 is valid, but is ...Show All
Windows Forms Open IE and Navigate from VB.Net
Can anyone tell me how to open Internet Explorer and navigate to URLs from vb.net When the user clicks a button on my windows form I would like it to navigate to a URL in Internet Explorer. If there is already an IE window open, I would like it to reuse it. Something like this: If (IE is not open) then Open IE End If Navigate to URL Thanks yes... Create an instance of the process.... Dim myProcess as new System.Diagnostics.Process() myProcess.StartInfo = new System.Diagnostics.ProcessStartInfo("iexplore") myProcess.Arguments = yourWebsite myProcess.Start() then to exit the process (kill) myProcess.Kill() ...Show All
SQL Server Not Connecting to a remote SQL server with OLEDB
Hi, I can connect to a remote SQL server with ADO.NET but not with OLEDB. I get ------------------------------ Test connection failed because of an error in initializing provider. Login timeout expired An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. Named Pipes Provider: Could not open a connection to SQL Server [233]. ------------------------------ Through the SQL Server Connection Manager, if I disable Named Pipes and enable TCP/IP, I get for OLEDB connection: ------------------------------ Test connection failed because of an error in initial ...Show All
Visual C++ Critical Error in ExtractAssociatedIcon function
Neither System::Drawing::Icon::ExtractAssociatedIcon nor Icon->ExtractAssociatedIcon function works due to an error in Intellisense. Eventhough the function belongs to the Icon class, Intellisense thinks the other way and prevents the compiler from compiling the code. Any way around this To reproduce the error, try the code: this ->Icon = Icon->ExtractAssociatedIcon( "c:\\Windows\\notepad.exe" ); Even if there is an error in Intellisense I don't see how it can prevent compilation. The Intellisense is one thing and the C++ compiler is another thing. Besides, both of the following compile and run fine for me: this->Icon = System::Drawing::Icon::ExtractAssociatedIcon("c: ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Absolute and relative mouse movement
Usually when dealing with mouse input you want the data from the mouse in two forms, one is absolute that you might use to draw a cursor or know which part of the window/screen a user has clicked on, and the other is relative where you are only interested in how much the mouse has moved. Currently, the MouseState only seems to report the mouse movement in the absolute form. This means anyone using the mouse to control, for example, a first person camera would find their movement limited by the size of their window/screen. I have tried playing around with the Mouse.IsCaptured property but it doesn't seem to make much difference, quite possibly because I don't know how to use it. Am I correct in thinking that getting relative mouse input dat ...Show All
SQL Server format issue
I've created a new calculate member in (SQL Server Business Intelligence Studio 2005) with the following format string: "#,#0.00". This measure is displayed like this: 22,250.22 Then I created a Measure in the Cube structure menue and used the same format string:"#,#0.00" and this measure is displayed like this:0,66 --> Comma and decimal point are changed in the display of the measures!!!! Can anyone help me with this I just like every measure to use a decimal point for the decimal place or the other way round. But I want every measure to be displayed in the same format! Thanks a lot! OK. What is your regional/national settings for the O/S What thousand separator and what decimal sign are you using with ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Where is the download?
It is 12:48 pm here (GMT + 1)... in Nuku'alofa (GMT + 13) it is tomorrow... So where the hell is my download link :-D It's just about 12:30 AM, my guess is you'll still have to wait several more hours, probably at least 8 and a half since the workday starts for most people in the US around 9 AM. Even then I don't expect to see it until later in the afternoon Pacific time. ...Show All
Game Technologies: DirectX, XNA, XACT, etc. XNA Architectu "push" vs. "pull" model
Xna.Input.Keyboard has no events OnKeyUp and OnKeyDown, so I can't subscribe any object on this events using delegates. Is any reasons - why I know that I can do this by myself (examine the keyboard state every Update and call those events), but it's an ideological/archetectural question: I don't want to "pull" keyboard every time, I need my objects to be "pushed" on a keyboard event. In general, "push" model improves scalability and maintainance of a system since It's syncronous - each object reacts the event immediatly when event call occur. > console games almost never use any keyboard input. That was just an example about event-driven (push-model) architecture. People here are seeing ...Show All
.NET Development AppendChild or CreateElement
I have a file with basically a list of employees. The root element is <Employees> and there is a child element <Employee empID = { whatever the empID is }> and under that element contains a name and permissions subelement. Is there a way to first create new elements like this assigning a given empID, name, and permissions set I was searching the MSDN and found AppendChild and Create Element but am unsure as to which one to choose. Second is there a way to delete a given <Employee> if I have the Name atribute. Here is a copy of my XML file for clarity: < xml version="1.0" encoding="utf-8" > <Employees> <NumEmp>7</NumEmp> <Employee empID='0000'> <Name>S ...Show All
.NET Development Visual C# and ManagementClass
All, I am trying to return an instance of a class that is returned from WMI and need a little. Here is an example of my code. private ManagementBaseObject inParameters; private ManagementBaseObject outParameters; private InvokeMethodOptions methodOptions = new InvokeMethodOptions ( null , System. TimeSpan .MaxValue); private ManagementClass WMIClass = new ManagementClass ( \\\\.\\ROOT\\wmi ); Now when I use outParameters = WMIClass.InvokeMethods("MethodName", inParameters, methodOptions); it executes fine and using the outParameters.GetText(TextFormat.Mof) everything is returned correctly. However, the returned value is in the form of a class. How can I make this into my class. Basic ...Show All
Visual Studio 2008 (Pre-release) thanks
hey thanks guys! ...Show All
Visual Studio Visual studio 2005 and windows vista buisness edition
I have windows vista buisness edition, visual studio pro 2005 and when I'm trying to create new web application I get error: front page extensions are not installed..., I activated windows authentication and I'm running vs2005pro as administrator, but the error still ocurrs. I know, that here have already been topic about this, but this solution doesn't work for me ;/ Well, the only reason I can think of why you would get this error is if you try to create a project on a remote server that does not have the Frontpage Server Extensions installed. As far as I know you can not install the FSE on Vista and you do not even need it when you are creating web sites locally. ...Show All
SQL Server Reporting Services keeps crashing!
I have two datasets, each of which are pretty much exactly alike. Each dataset has a corresponding matrix on the report and thats all there is. When I run each query they work fine but when i preview the report I get the following: An error occurred during local report processing. An internal error occurred on the report server. See the error log for more details. My query is as follows: SELECT dbo.SR_Service.SR_Service_RecID, CASE WHEN sr_type.description LIKE 'Internal' THEN sr_service_recid END AS internal, CASE WHEN sr_type.description LIKE 'Incident' OR sr_type.description LIKE 'scheduled maintenance' OR sr_type.description LIKE 'support email' THEN sr_service_recid END AS incident, CASE WHEN sr_type.description LIKE ...Show All
