Mats Aubell's Q&A profile
Visual Studio install problems with castle: "Could not find path to Sandcastle tools"
Hello all, I am in deep need of the sandcastle tool, but can not get it to build. Some tool is not found but I cannot see what tool is missing. I have vs2005 and sandcastle 1.3.1.1. I try to build from gui-program with the file "SandcastleBuilder.Utils.xml" as input. Any ideas Logtext below: [Sandcastle Help File Builder GUI, version 1.3.1.1] Creating output and working folders... Clearing working folder... Finding tools... BUILD FAILED: Could not find path to Sandcastle tools You have to install Sandcastle before you install and tun Sandcastle Help File Builder (SHFB). Please visit http://www.sandcastledocs.com and install Sandcastle from the download section. SHFB is a GUI written for ...Show All
Visual Basic is there a way to modify code in vb.net on the fly when it is running?
is there a way to modify code in vb.net on the fly when it is running I vb 6 you could hit ctrl break then modify the code then hit F5 and the changes were made. in VB 7 u have to do a recompile after u make the changes for them to take affect. Does anyone know if there is a way to make changes and not recompile the code and have the changes take affect right away. I have the same problem as well. I have two computers and on one I can edit and change code in break mode but the other does not allow it. Also debug.print does not work. I had a look at the above suggestions but none of them helped. Any Ideas Thanks ...Show All
Microsoft ISV Community Center Forums Restrict editing of activity based on date comparison
Hi (again!) thanks to the help of many forum members i have built a system for our users. I have a facility that allows users to do an end of month submission and it writes the date selected into a field called 'datelastsubmitted' in 'tblusers'. the reason i am doing this is that i do not want users to then be able to go in and edit any activity that they have entered prior to that 'datelastsubmitted' value. When they open up an activity to edit (as opposed to creating a new one) i want to be able to restrict them from editing the activity if the 'datelastsubmitted' value is more recent than the 'activitydate' value. this form is based on a query between linked tables so datelastsubmitted and activitydate are a ...Show All
SQL Server Component not showing "Show Advanced Editor" in menu
Hi, I've developed a couple of components now and I know I've seen this problem before but I can't remember how to solve it. My component is built, it has it's own (blank at the moment) UI and it seems to work fine except that there is no right click option to look at the advanced editor. The code is almost identical to another component I wrote that works just fine. Any ideas anyone Thanks Charlie. ...Show All
.NET Development Registry access problem
I would like to write some application information to the registry 'HKEY_LOCAL_MACHINE\Software'. There is no problem to do that by a Windows application, but when I try to do the same thing with my Windows SERVICE, I get the message; "Access to the registry key 'HKEY_LOCAL_MACHINE\Software' is denied." Why is that and how to solve the problem Thanx.... Install and Run your Windows Service under LocalUser account instead of LocalSystem. Best Regards, Rizwan aka RizwanSharp ...Show All
Visual C++ Updating Microsoft Visual C++ 6.0 to Visual C++ net 2003
/*-------------------------------------------------------------- HelloMsg.c -- Displays "Hello, Windows 98!" in a message box (c) Charles Petzold, 1998 --------------------------------------------------------------*/ #include <windows.h> int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { MessageBox (NULL, TEXT ("Hello, Windows 98!"), TEXT ("HelloMsg"), 0) ; return 0 ; } I am using Visual C++ net 2003 standard compiler. I am reading Programming Windows Fifth Edition by Charls Petzold isbn 157231995x Errors linking programme: WinConsole error LNK2019: unresolved external symbol _main referenced in function _mai ...Show All
Gadgets embed and DOM
hi everybody, first, thank's Toddos, because i 've built a second flash games gadgets with all the rules you've told me....and it works very well. so, so, excellent teacher you are.... i have another problem I push flash in my gadget in embed tags using this way : initializeBase : var swf = m_module.resolveUrl("swf/foo.swf"); initialize : Divglobal = document.createElement('div'); Divglobal.className = 'Divglobal'; Divglobal.innerHTML= "<embed src="+swf+" type=\"application/x-shockwave-flash\" width='250px' height='250px'>"; p_elSource.appendChild(Divglobal); This works well but i would like to bypass the innerHtml method, with a DOM method , for ex : source = document.cre ...Show All
Windows Live Developer Forums Best way to store precise 3D views...
Hello all, new member here. I'm working on a website that maintains a database of mountains for skiing/hiking. For each I'd like to also maintain data on the best way to display the mountain in 3D to really showcase it. Right now I have this working by storing (per mountian) lat/long, pitch, altitude, and heading. It works but it takes 4 function calls to get there which seems inefficient and takes a bit of time. Is there a better way Perhaps a single function call to tell the camera exactly where to put itself I looked in the SDK reference but couldn't find anything like this... Oh, no, sorry for not being more explicit. I'm looking for something that, given latitude/longitude, heading, pitch, zoo ...Show All
SQL Server SQLCMD error
Dear Sir i tried to connect to SQLCMD but i faced this error : C:\Documents and Settings\sql>sqlcmd HResult 0x2, Level 16, State 1 Named Pipes Provider: Could not open a connection to SQL Server [2]. Sqlcmd: Error: Microsoft SQL Native Client : An error has occurred while establi shing a connection to the server. When connecting to SQL Server 2005, this failu re may be caused by the fact that under the default settings SQL Server does not allow remote connections.. Sqlcmd: Error: Microsoft SQL Native Client : Login timeout expired. C:\Documents and Settings\sql> waiting for your help thanks in advance YOu will have to enable remote connection, see more information about this on my site in the section ...Show All
Windows Live Developer Forums Announcing v4 - 3D Mapping!
Announcing v4 - 3D Mapping! Today at 2PM (PST) we launched v4 of the map control, and with it some pretty amazing additions to the VE mapping world. You can read all of the blogs and marketing materials (and of course, go to maps.live.com) to get all the “wow” stuff. Here I just want to highlight what I think matters to VE developers. The Good First, we also updated the v3 control (now, v3.2). The big change here—and this is also in the v4 control—is the ability to now turn off the location disambiguation dialog and easily build your own. Check the “Finding Information” topic in the SDK. The iSDK also shows how to do this, of course. The Great On to v4: The big change, of course, is that you can now sho ...Show All
Visual Basic calling subs
Why wil this not work Public Sub AddCurveExample( ByVal e As System.Windows.Forms.PaintEventArgs) ' Create some points. Dim point1 As New Point(20, 20) Dim point2 As New Point(40, 0) Dim point3 As New Point(60, 40) Dim point4 As New Point(80, 20) ' Create an array of the points. Dim curvePoints As Point() = {point1, point2, point3, point4} ' Create a GraphicsPath object and add a curve. Dim myPath As New GraphicsPath myPath.AddCurve(curvePoints, 0, 3, 0.8F) ' Draw the path to the screen. Dim myPen As New Pen(Color.Black, 2) e.Graphics.DrawPath(myPen, myPath) End Sub Private Sub Button1_Click( ByVal sender As System.Object, ...Show All
Visual Studio Express Editions How to get the size on disk of a file in c#
Hi I want to get the size on disk of a selected file in c#.By using FileInfo.Length i am able to get the file size.But i need " size on disk" in c#. Thanks in advance Thanks Chandu.Sanka Hi ahmedilyas i want to display properties form when i click properties of a file from my application itself.Right now i am able to retrive all the information regarding a file like file type,creation,modified time etc..,There is only one task left.that is "SIZE ON DISK". Thanks Chandu.Sanka ...Show All
Game Technologies: DirectX, XNA, XACT, etc. What kind of data will invoke the excution of a GS
GS provides a flexible way for users to generate new primitives. We want it is more flexible. If we emit some new primitives without use any input data such as position or color. This case supported by current DX10 I am not sure if I understand your question right. You want to run the geometry shader program without a vertex shader program that generate input primitives for the geometry shader ...Show All
Visual C# object does not exist in the current context
Please help me with this code . During compilation i got the error: Error 1 The name 'ds' does not exist in the current context : How should I delcare DataSet thx ----------------------------------------------- public void listBox1_SelectedIndexChanged( object sender, EventArgs e) { OleDbDataAdapter dataadapt = new OleDbDataAdapter (); DataSet ds = new DataSet (); StringBuilder sbConn = new StringBuilder (); sbConn.Append( @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + openFileDialog1.FileName); sbConn.Append( ";Extended Properties=" ); sbConn.Append( Convert .ToChar(34)); sbConn.Append( "Excel 8.0;HDR=Yes;IMEX=2" ); sbConn.Append( Convert .ToChar(34)); ...Show All
Game Technologies: DirectX, XNA, XACT, etc. 3D picking - possible solution?
I was pondering, and something occured to me. Let's say I have a 3D model. Now lets say I want to enable 3D picking for that 3D model. That is to say, I want the mouse to be able to change its properties / response when it is over the 3D object, or clicking while over the 3D object. I assume that one way to solve this would be to create a ray that originates from an equivalent point in front of the camera, and passes along a Vector3 through the scene. I could then test the ray to see if it colides with any 3D objects (or their bounding boxes) and return values for that particular object. But it also occured to me that this method for picking would be a huge pain in the neck, and would probably end up being far more costly in terms of pr ...Show All
