Hussain Saffar's Q&A profile
Windows Live Developer Forums V.E. SDK
I was wondering if I could see the code that you use for the Virtual Earth SDK because it is not the same code used for the example. So if it is possible can i view that Thanks Hello, i looked and I could find what i was looking for... Can you tell from my code why my directions are not showing up in the DIV I have set up Thanks < meta http-equiv ="Content-Type" content ="text/html; charset=utf-8"> < script src ="http://dev.virtualearth.net/mapcontrol0u118 3/mapcontrol.js"></ script > < html > < head > < script > var map = null ; var pinID = 1; function GetMap() ...Show All
Visual Studio RDLC Report Viewer and No Data Showing
I have a bunch of local reports that will be running off of seperate SQL stored procedures. I have set up a form that contains a report viewer control. I have set up a dataset that contains my stored procedures. I want to make this dynamic so that I only have to have one report viewer control for all my reports. The problem I am having is that when running the reports with my code, I am not getting any data. Any help would be appreciated. ReportViewer.ProcessingMode = Microsoft.Reporting.WinForms.ProcessingMode.Local If utilities.Report = 1 Then Dim rptSource1 As New Microsoft.Reporting.WinForms.ReportDataSource( "ProspectiveTMDetail_ProspectiveTMDetail" , Me .BindingSource1) Me .ReportViewer.LocalRepo ...Show All
Visual Studio Print Layout vs. Interactive Mode
Is there a way to have an expression change based on which mode you are in Like have something hilited in interactive mode but look normal in print layout Please check my response in your other thread: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=580956&SiteID=1 -- Robert ...Show All
Visual Studio Team System TFS: Source Code
HI, I am using TFS/TS 180 days trial version and created a team project on TFS Server. I am unable to create a source code workspace. i logged into my machine as \domainuser and have [Sever] Team Foundation Administrator rights. i also have admin rights on TFS server in the same domain. thanks! Sneh Do you have rights on your local box If you are apart of Team Foundation Admin Group, on the server level, you should have perms. Thanks, John ...Show All
.NET Development Populate a DataSet by Hand (Strings)
Hello Everyone, still working on my project ... But for that check my other threads that no one have answered yet. But I do beleive I have founded the key issue in my problem. I want to use a dataset do update/write, the writing part from a dataset to the XML file is the easy part i belive. Just do a ds.WriteXml. My problem is that i not really have figuerd out how a dataset really work, but after som reasarch i come to a the conlcussion that a dataset in som way have parts like tabels and rows. Could anyone show me a example were table by table, and row by row is built. Also when i row is used my thoughts go excel and each row is devided in coulums. Can i compare a dataset with a execel document. Would be a great gudie, have search but ha ...Show All
Visual Studio Tools for Office Can not pass Infopath field value as sql query
Hi, I have a infopath form with text field. I am doing the code for the form in vs I am trying to pass one of the field value into a sql query in command text but while I am debugging it is giving the following error Object reference not set to an instance of an object. I chechekd the format that I wrote the string I think it is correct it is as following dim str as string = "select ExpenceAmount from Expenses where ExpenseID = " & ThisXDocument.DOM.selectstringNode("/my:mtFields/my:ExpenseID").text cmd.commandtext = str ExpenseID is the Field name I am a begginer in infopath but I serached everything how to do and came until here but I was not able to debug what I did and was not a ...Show All
.NET Development Debugging Web Services
How to debug a web service from client application In the client application web service reference is added. Can we debug the web service Well, if your web service is running in debug mode and your client application is calling that, you should be able to place break points and debug it. So your web service (may be on local machine or somewhere else) need to be in debug mode and attached with debugger. when client application calls, it will stop on break points. Hope this helps you!!!! ...Show All
Windows Forms MenuItems
Hey, Is there a code like the one below that dose the same thing but for a MenuStrip item : ToolStrip3.Items.Add(newbutton) Thanks :) hmm, well I got some errors again... here they are: Image no longer needed... ... ... EDIT: never mind.... I did this: BookToolStripMenuItem.DropDownItems.Add hold on I need to figure somthing out... Edit2: ok, here is the problem, when you click on Add Bookmarks, it opens another Windows Form called Add Bookmarks, I got that done, but in add bookmarks there are two textboxes, one that you type in what you want the website to be called inside the bookmarks MenuItem, and then the other you type in the website url, once you click ok it needs to do&nb ...Show All
Windows Forms Drawing on[/underneath!] Controls
Is it possible to draw a line as shown in the pic on a single form The line in the image is drawn on a second form which is transparent so form1 is visible. No. You've got two distinct windows here. One for the form, another for the control. You can't draw on both. ...Show All
Visual Studio Tools for Office [Word] Runtime error on loading custom add-in
Hello, I have a problem with loading my own add-in after I deployed the setup and installed the add-in. When I run the add-in directly out of visual studio it all works fine. However when I generate the setup.exe and use it to install the add-in it won't display in Word. When I go to the COM-addins dialog in Word I can see that it is indeed installed. When I click on it, i see the message: "Not loaded. There was a runtime-error ...... ". My guesses are that it has to do with security or something. I already put the macro's security to the lowest level, and followed the directions on http://msdn2.microsoft.com/en-us/library/aa537179(office.11).aspx to add something for the security. I allready spent hours searching google for this ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Optimizing meshes
Basically, I'm building a sort of Isometric Tiling engine in XNA, the same you see in games such as Civilization. Each tile in my 3D world is a mesh (cube), so many cubes form the grid or playing area. As expected, rendering many meshes at once slows down the game a lot. It can handle a 15x15 grid (225 meshes) but going over 20x20 (400 meshes) slows the game down to a halt. I'm not sure how they do it in modern games, but I'm assuming they build the terrain seperately and then represent it as a grid.. so that could be a possibility. I also thought of using sprites to represent the tiles but that (I think) severely affects the 3D stuff I can do, such as panning/rotating a camera or selecting objects. So what sort of optimizations c ...Show All
SQL Server Complex Order By Logic
I apologize if this is not the appropriate forum for this question. I've written a searchable database-driven application in classic ASP and vbscript with a SQL Server backend. What I need to do is this: order the results of a query so that if the first "order by" field is null to order that entry based on the second "order by" field. The application I am writing is a database of books, and my client wants the results to be ordered by Author, unless there is no Author, in which case he wants that entry ordered by book title. Here is an example of how he wants the books sorted: Adamson, Jan - Book X Bible, The Wilson, Jonathan - Book Y I hope I've explained the scenario correctly. What's the best way to wr ...Show All
Visual Studio 2008 (Pre-release) How to assign database/source of ListView programmatically in WPF?
I tried some sample coding from the net. It uses the XMLDataProvider <XmlDataProvider x:Key="MyData" XPath="/Info"> <x:XData> <Info xmlns=""> <Song Name="Love at first sight" Time="4:04" Artist="kylie" Level="3" Disk="Disk-1" /> <Song Name="At Night" Time="4:31" Artist="Shake Down" Level="4" Disk="Disk-1" /> <Song Name="Believe" Time="3:54" Artist="Cher" Level="5" Disk="Disk-2" /> <Song Name="Don't cal ...Show All
Windows Live Developer Forums Support for 'picture' in 'dataDesired' field
The information that the contact gadget provides is pretty great - passportname was a huge relief to see - but it lacks one really great field - the picture. A URL to the user's picture would be very handy. As a workaround, I wonder if a URL to the picture can be constructed using the passport ID. Thoughts Hi Eron, Getting contact image tiles incorporated into the contacts gadget UI is high on our list for the 2.0 release. As it turns out, the image tiles are stored on a different server inside Microsoft than the contacts data, which raises the complexity of the gadget. We opted to axe the image for the 1.0 release to focus on the core mechanism. As for returning image tiles to the host web page ...Show All
.NET Development top-level param default value is ignored
Hi, I have the following line right after the output element in my xslt file: <xsl:param name="selectedColorScheme" select="'default'" /> I set a breakpoint after this point so that I could check the value of "selectedColorScheme" and it shows up as null instead of the string "default". If I change it to a variable instead of a parameter, it works. Unfortunately, that doesn't give me the flexibility of passing in an override value. Am I missing something here MylesRip wrote: Hi, I have the following line right after the output element in my xslt file: <xsl:param name="selectedColorScheme" select="'default'" /> I set a breakpoi ...Show All
