Ayooya's Q&A profile
Visual C++ Linker problems LNK2001
Hey people, im trying to get an old EVC++ to Visual Studio, fixed the /MDd problem and the W_Char problem. but when i try to compile i get over 300 linker errors. ive got the idea im missing lib files or something, but i added the old lib directory's and stil i cant get it going. Linking... RTCView.obj : error LNK2001: unresolved external symbol "public: int __cdecl CListCtrl::InsertColumn(int,unsigned short const *,int,int,int)" ( InsertColumn@CListCtrl@@QAAHHPBGHHH@Z) stateview.obj : error LNK2001: unresolved external symbol "public: int __cdecl CListCtrl::InsertColumn(int,unsigned short const *,int,int,int)" ( InsertColumn@CListCtrl@@QAAHHPBGHHH@Z) Tablog.obj : error LNK2001: unresolved external symbol ...Show All
Visual Basic External visual basic EXE !
I have oneVisual Basic EXE ( this is not activex exe ) running in box1. From box2 using VB, i want to check where vb.exe in box1 is running or not How to proceed this to check to see if its running on another computer, specify the computer name in the 2nd parameter: Dim theProcesses() as Process = Process.GetProcessesByName(" ProcessName ", " computerName ") does this help ...Show All
SQL Server Copying my SQL Database to another server
Hi guys, I have created a new SQL database (named “DB”) on my personal pc at home. I want to copy “DB” to my job’s computer, which works on a local net with SQL server. What should I do Thanks a lot, Aldo. Hi Derek, Which / where is the file I should copy in order to get an offline copy I've tried copying my ".mdf" file from this path: "C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\Data\DB.mdf" but getting something strange... Thanks in advance, Aldo. ...Show All
Visual Basic Copying and Pasting
How would I go about copying the selected text in a web browser control to the clipboard and pasting the textg in the clipboard to a textbox in a webpage in a web browser control like the copy and paste commands in Edit menus for many applications Thank You! ClipBoard.SetText( value ) ClipBoard.GetText() 'Gets the text saved from the clipboard http://msdn2.microsoft.com/en-us/library/system.windows.forms.clipboard.aspx http://msdn2.microsoft.com/en-us/library/kz40084e.aspx As for using it in the webbrowser, same thing would apply but you would have to somehow get the element of the webpage, then paste it into that. ...Show All
SQL Server export to excel
I'm experiencing an issue where when I export my report to excel every number in my report exports as something other than a number. Every number excel field (cell) has a green arrow in the upper left corner which will allow me to manually convert to a number but this is a major hassle. I've tried converting the fields in the report using cdbl and cdec but to no avail. Anyone have a suggestion on how to fix this Thanks The FormatNumber function always returns a String. See this doc page for reference: http://msdn2.microsoft.com/en-us/library/xfta99yt.aspx If you want to add number formatting and retain the original numeric data type, you should define the formatting in RDL. Open the properties window for the ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Wireless GamePad in windows exceptions
Working on a SpaceWars mod, with a wireless GamePad connected using the new Wireless GamePad for windows receiver. I notice that: Y button presses are not being picked up & getting errors in Right Thumbstick 'XInputHelper.GamePads[PlayerIndex.One].ThumbStickRightX' threw an exception of type 'System.Collections.Generic.KeyNotFoundException' 'XInputHelper.GamePads[PlayerIndex.One].ThumbStickRightY' threw an exception of type 'System.Collections.Generic.KeyNotFoundException' anyone else come across this I'm going thru the GamePadHelper.cs class, and it looks consistent for Y with the other keys that work. Looks like a bug in SpaceWar star ...Show All
SQL Server Proclarity Installation using SQL Server 2005
Hi, I'm attempting to install Proclarity 6 on a Win2003 Virtual PC, using SQL Server 2005 as my DB platform. The installation continually fails with the error: "The SQL Serve Selected is not in Mixed Mode...". This occurs even if i specify the 'sa' account during the installation. My SQL Sever is definitely set to Mixed Mode authentication! Has anyone come accross this before and is there a fix Thanks in advance, Leigh. just run this statement and see whether its returning 0 or not select SERVERPROPERTY ( 'IsIntegratedSecurityOnly' ) Madhu ...Show All
Visual Studio Express Editions hidding the tab?
Hi I try to hide the tab head by setting sizemode to fixed and item size to 1,1 (I can't set it to 0,0 it work but a small portion show at the top left (a pixel of 1X1) . is there anyway to fully hide the tab head thanks. Me . TabPage2 . Hide () will hide the entire tab page and tab head.....(if the tab head is hidden the tab page cannot be selected anyway) ...Show All
Visual Studio Breakpoint Unconditionally Skipped!
Hello, I am using a program like this. I create a project, I type this in, and then F5 it. Then when I hit the first breakpoint, I add a "data breakpoint" at &c. Yet, it does not break when the variable c changes. What am I doing wrong #include<iostream> using namespace std; void main() { float a,b,c; (breakpoint) a=.23f; b=.45f; c=0; c=a+b; cout<<"Hi there!"; (breakpoint) cout<<"What Up Dawg!"; } Kevin, Sorry we've not been as engaged in the forums as we should have been. My apologies. I tried to repro this issue without any success, however I wondered if the codegen may have been at the heart of the issue. If the compiler decide ...Show All
Visual Studio 2008 (Pre-release) Where can we download a demo about the WCF Security?
I need a demo about the WCF Security, Where can we download it Thanks a lot Review this documentation to understand How Message security and Transport security works(eventhough it is for WSE,we share same ws-security concepts in wcf also) http://msdn.microsoft.com/practices/default.aspx pull=/library/en-us/dnpag2/html/wssp.asp ...Show All
Visual Studio WMI Scripting vulnerability
Hi, I am just trying to clarify what the Visual Studio 2005 WMI Scripting vulnerability error is and how to deal with it. Does this mean that my development PC with Visual Studio installed is vulnerable to the exploit or does it imply that websites I build with VS 2005 could be hacked to expose visitors to the exploit I have found and downloaded but not yet installed VS80-KB925674-X86.exe which is supposed to patch the problem, but when I looked for software updates from within VS 2005, the process claimed that I was not in need of any updates for VS. Does the microsoft software update search not know about this patch thanks. Only your computer running Visual Studio 2005 can be vulnerable but not ne ...Show All
Software Development for Windows Vista Cannot step into code activity calling method from external assembly
Hi guys, I have VS2005 workflow and I am using Sharepoint as the host. I have attached this workflow to a sharepoint list which gets activated whenever a new item is added in the list. In the workflow I have added onWorkflowItemChanged activity, which gets fired whenever list is updated. Following this, I have code activity which calls method1 of another class A residing in a separate assembly. Though I have referenced the assembly in the workflow, the code in method1 doesn't run. To debug the workflow, I set the breakpoint on the code activity and attached WF to it. But the WF just doesn't stop on the activity. Infact, it stopped stepping into other activities also which fire before this code activity. I am catching exceptions an ...Show All
Visual C++ Explicit Interface Method Implementation
In MC++, I can do the following: - __gc __interface ICloneablePerson { Person* Clone(); }; public __abstract __gc class Person : public ICloneablePerson { private: String* _name; protected: Person() :_name(String::Empty) { } Person(String* name) :_name(name) { } Person(Person* source) :_name(source->_name) { } public: __property String* get_Name() { return _name; } }; public __gc class Student: public Person { private: String* _id; public: Student(void) :Person() { _id = String::Empty; } Student(String* name) :Person(name) { _id = String::Empty; } ...Show All
Visual C# Handle a meta refresh 0
I have a method of using WebRequest and WebResponse to post login info to a page and once i do i am given a response with: <meta http-equiv="Refresh" content="0;URL=http://..ADDRESS_HERE..."> To which I can not figure out how to handle using the two fore-mentioned objects! How does one handle this type of meta tag If needed I can post my code! --- william Yeah, I already have a method incorporated for handling the cookies; i also just noticed this site has different frames on the pages and I'm not sure if that has anything to do with my method not working! Another option I was looking into since this is such a pain in the butt, was to just use a WebBrowser control and have it hid ...Show All
.NET Development any VB example for using reflection to build sqlparameters automatically
any VB example for using reflection to build sqlparameters automatically in the code from the SProc Thanks a lot I found these articles, not sure what they re for: - Object Mapping Using Reflection (OMUR) http://www.codeproject.com/dotnet/OMUR.asp - Using Reflection to Bind Object Data to Data Sources : http://www.codeproject.com/vb/net/ReflectionDataBinding.asp - Using Reflection to Bind Business Objects to ASP.NET Form Controls http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnaspp/html/aspformbinding.asp - in MSDN: Dynamically Bind Your Data Layer to Stored Procedures and SQL Commands Using .NET Metadata and Reflection: Atif Aziz, MSDN Magazine Thanks for explaining to ...Show All
