rajshekar's Q&A profile
Visual Studio Express Editions Web Browser Creation Problems
Hi, I have a question, when I'm following the tutorial for creating a Application which per the instructions name Web Browser. Here is the problem that I encounter, I follow ALL the steps and when I hit F5 to run the code it runs "successful" however when my Browser pops up and I select one the URL's that I have entered during the creation phase. Nothing happens. No Homepage or websites that I inputted in the Application. Is there something that I'm doing incorrectly Please advise and thanks in advance!! Good News I finished the Web Browser and I can Navigate to the homepage which in my case is www.msn.com but the additional sites (URL) I entered into the ap ...Show All
Windows Forms Concurrency error with VB2005 and SQL2000
Ok im trying to do an update on a dataset into a single non related table on my sql database. Ive written my own insert/update commands, added a new row to the datatable done an update and acceptchanges and i sometimes get the concurrency error. What am i missing here Im more than happy to overwrite any changes that may be made on the database, the last edit takes priority. Not very clean no, but i need a quick fix :o) Is there a setting somewhere i can make to allow it to ignore any changes made elsewhere Dim row As DataRow = dsAddressTables.Tables( "PartyRole" ).NewRow row( "PartyRoleTypeID" ) = m_intPartyRoleType row( "TheirRef" ) = m_strTheirReference row( "ContactName" ) = m_strC ...Show All
Game Technologies: DirectX, XNA, XACT, etc. xfile conversion from c++ version to c# version
is there any body to convert this c++ codes to c# codes i want to know about xfile treatments by c#. ---c++ codes: referenced from Book of Alan Thorn -DX9 Graphics: the definitive guide to Direct3D--- VOID OpenXFile(CString FileName) { LPD3DXFILE File = NULL; if(FAILED(D3DXFileCreate(&File))) return; File->RegisterTemplates((LPVOID)D3DRM_XTEMPLATES, D3DRM_XTEMPLATES_BYTES); LPD3DXFILEENUMOBJECT EnumObject=NULL; if(FAILED(File->CreateEnumObject(FileName, DXFILELOAD_FROMFILE, &EnumObject))) return; SIZE_T Size= 0; EnumObject->GetChildren(&Size); for(SIZE_T Counter=0; Counter<Size; Counter++) { LPD3DXFILEDATA DataObject = NULL; EnumObject->GetChild(Counter,&DataObje ...Show All
Windows Forms how can i change the source code of a webpage with webbrowser control??
i want to add some source code to a webpage to add some functions for my own uses.... for example a webpage has a javascript function a(str){ ..... } i want to add an other function b to filter out some text.. so function a(str) {b(str); .... }.. er,,, i am not trying to change the source code of a file that is on the server side,i just want to modify the source on the client side only,, like i say above,, just want to add some javascript function to translate some text.. like: function a(var str){ // i want to add filterFunction(str) ...... } ...Show All
SQL Server Dynamic query, local cursor variable and global cursors
Hi all. I am stuck in a bit of a conundrum for quite a while now, and I hope someone here will help me figure this one out. So, first things first: let me explain what I need to do. I am designing a web application that will allow users to consult info available in a SQL2000 database. The user will enter the search criterea, and hopefully the web page will show matching results. The problem is the results shown aren't available per se in the DB, I need to process the data a bit. I decided to do so on the SQL Server side, though the use of cursors. So, when a user defines his search criteria, I run a stored procedure that begins by building a dynamic sql query and creating a cursor for it. I used a global cursor in ord ...Show All
Visual C++ unresolved external error
I am having an unresolved external problem. This is my error output: Linking... tryagain.obj : error LNK2019: unresolved external symbol _furnsh_c referenced in function _main C:\Documents and Settings\sharyl\Desktop\cspice\exe\tryagain\Debug\tryagain.exe : fatal error LNK1120: 1 unresolved externals I have the enviroment variables set so that the library that contains furnsh_c is in the lib path, and the include folders, etc are also in the system's enviroment variables. I have also added the lib that has furnsh_c to the additional dependencies. What am I missing Is it possible that I changed another setting that is causing this Thanks! The first one is expected. It lists a reference to symbol named _furnsh_c (whi ...Show All
Community Chat Zune and the iPod
I've been following the Zune announcements fairly closely here at work. If you follow my blog, you'll see that I'm pretty passionate about media technologies, and recently went through the pain of migrating away from iPod/iTunes and onto Yahoo Music/Gigabeat S (Portable Media Center). Here the blog category where I talk about it: http://blogs.msdn.com/joemorel/archive/category/13772.aspx Now Zune is in the mix. It looks pretty neat, but I'm not sure if people are really going to go for the whole WiFi thing. I'm just not sure that I want to listen to the same music as the person sitting next to me on the bus. What do you think well remember, some of it may be based on customer requirements having a Wifi is a cool option ...Show All
Commerce Server Commerce Server 2007 catalogwebservice and bizTalk 2006
Hello, I would like to update stock items in Commerce Server 2007 using BizTalk 2006. What I can see so far is that I should be using the Commerce Server Inventory BizTalk Adapter. I am not sure how you would use this Adpater to update the quantity and query the quantity of Products in the Commerce Server catalog Can anyone shed any light on this issue Thanks Dom Hey Dom, The query response for Catalog is just the catalog xsd. For instance, in the out of the box schemas, the query response will have the XSD of DefaultCatalog.xsd. For your particular catalog, you want to get the XSD from ExportCatalog.exe. Let me know if you have additional questions or need more information. Thanks Al ...Show All
Internet Explorer Development window handle for active tab
hi folks, when a document completes loading in a new tab, my bho gets notified via DISPID_DOCUMENTCOMPLETE. how can i get the window handle for the tab window i've tried the EnumChildWindows/IsWindowVisible combo but it's not always reliable. it would seem IE7 has the handle but how to get it any ideas I may have misunderstood... Each tab has its own WebBrowser2 object and a new BHO is created for each tab. I'm not sure what you mean by "top-level" WebBrowser, i'm guessing the value obtained in SetSite - this should be unique for each tab or do you mean the HWND - having looked further up the thread In IE7 the HWND obtained is for the window, see the code earlier on to obtain ...Show All
SQL Server Where are the Graphs saved from Data Mining model viewer
Hi, all here, I tried to find the graphs I saved from Data Mining Model Viewer, but where is it saved As we see from the mining model viewer we could save the graphs there by clicking the 'save graph' button, but where is the graph Really need help for that. Thank you very much in advance for any guidance and help for that. With best regards, Yours sincerely, Hi, Jamie, Thank you very much. So with the SQL Server 2005 addins users are able to interact with Data mining models within Excel 2007 Or just the static views copied from Data Mining model viewer within SQL Server 2005 Data Mining Engine Thanks a lot in advance for any guidance and advices for that. With best regards, Yours sincerley, ...Show All
Visual Basic How to set the install path for application
I noticed that my app doesn't install to the Program Files directory as VB6 does it. Instead, the wizard creates a jumbled multi level directory and sticks your app in there. How can we change that Thanks. Right click on your setup project in the solution explorer window and choose view/file system, Good luck, Hobb.. ...Show All
Visual C++ C++/CLI Types
Hey All, When I was using Managed C++ back in the old days of VS03, I remember being very careful to use Int16 instead of short, and Strings instead of std::strings. I'm wondering how much of a difference that makes w/ the new CLI. Is "int" equivalent to "Int32" as far as garbage collection and such Also, I caught myself doing this today when I declare variables. String ^str; but when i do my arrays, I put the handle like this... array<String^>^ str; Where is the 'proper' place to put the cap SvenC, you're right about int not having a fixed size but at least the VC++ compiler in both 32 and 64 bit versions defines int as being 32 bit and this is not going to change from a vers ...Show All
Software Development for Windows Vista Custom Composite Activity & ActivityBind
Hi there, I'm trying to build a custom composite activity that allows to execute it's child activities in any order. It should be possible to run a child activity more than once (e.g. the flow "Activity1 -> Activity2 -> Activity1 -> Finished" should be possible. I've tried to build such a composite activity based on the GraphActivity sample ( http://blogs.msdn.com/vkalra/archive/2006/08/12/696132.aspx ) which works great, except when i try to bind properties (DependencyProperty) between activities: If I bind a property of type 'System.String', all works fine: the property is set before the activity executes. If I try to bind a property of a custom type (e.g. List<Order>), the property is null when the acti ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX SDK october 2006 + Vista RC2
I've head that Windows Vista RC2 will be out by the end of the week. Since the next DirectX SDK of october 2006 is still not out for now, do someone know what DirectX SDK will be compatibles with Vista RC2 Thanks. Will there be a new DX10 sdk release or a patch for the october sdk for vista rc2/rtm before the usual december release I'm intrested in this becouse I just upgraded to Vista RC2, only to find out that the dx debug don't work, and I can't wait two months before I get back to my dx dev. Should I down-grade to RC1 or will there be a patch within a couple of weeks Thanks! ...Show All
Visual Studio Tools for Office Office add-ins not running on clients
Hi I've recently developed a office add-in for powerpoint but the add-in doesn't load, I'm using the installer included in the package and the client does have vstor and interop assemblies installed. If I make an application on the client using visual studio and making a debug or release, it runs fine. Thanks // Lasse Most probably your application on the client is not granted the permissions to run. Here is the latest link to VSTO deployment guide: http://msdn2.microsoft.com/en-us/library/aa537173(office.11).aspx ...Show All
