Software Development Network Logo
  • IE Development
  • Smart Devicet
  • Visual FoxPro
  • .NET Development
  • VS Team System
  • Game Technologies
  • SQL Server
  • Windows Vista
  • Visual Studio
  • Visual C++
  • Microsoft ISV
  • Windows Forms
  • Visual Basic
  • SharePoint Products
  • Audio and Video

Software Development Network >> DOSrelic's Q&A profile

DOSrelic

Member List

mme0927
Michele Tenuti
d.cosentino
pukla
yhong
K.Kong
luca82
Phil333
Jeff Patton
Davids Learning
Sabrecat
Alex Levin
Jan Kučera
Ceres629
Marlin7
Jon Brammeier
sroughley
Leonid B
NozFx
AlexBB
Only Title

DOSrelic's Q&A profile

  • Windows Live Developer Forums Retrieving Lat & Lon from an address without a map

    I have a web form that enables users to enter an address, and is supposed to return a latitude and longitude for that address. Unfortunately, I've been unable to find any articles or code that can return these values. Any help is greatly appreciated. Thanks! Thats really awesome Svadali. Thanks for sharing the code. Now I wonder if you can use the service to do reverse geocoding..... John ...Show All

  • Visual Studio Add .CS file to a Project

    Hi All, The AddMainClass or GenerateRepeatingClassT4 adds 1 .cs file. What I want to do is that depending on the user input add that many .cs file. Can someone tell me how to achieve this Thanks, Lahiri Hi, I am trying to do the same as well but i have more complicated issu, i am trying to add several views(user control calsses) i get the number from the user and i have non string arguments to pass for it, i tried this code but i got missing service exception : TextTemplateAction textAction = new TextTemplateAction(); AddItemFromStringAction addItemAction = new AddItemFromStringAction(); DTE dte = GetService<DTE>(); //for (int i = 0; m_operationAr ...Show All

  • Visual Basic Word automation and System.IO.FileNotFoundException error

    Hello, I'm having problems with an application that is automating word. I'm using VS .Net 2003, (Visual Basic), WinXP Pro, Office 2003. Here's what I doing: Imports Microsoft.Office.Interop ... Try Dim oWord As New Word.ApplicationClass ' Place call to COM object here. Catch ex As Exception MsgBox(ex.ToString) ' Display information about the failed call. End Try Here's what I'm getting: 'DefaultDomain': Loaded 'c:\windows\microsoft.net\framework\v1.1.4322\mscorlib.dll', No symbols loaded. 'path test': Loaded 'D:\Development\Visual Studio .NET\path test\path test\bin\path test.exe', Symbols loaded. 'path test.exe': Loaded 'c:\windows\assembly\gac\system.windows.forms\ ...Show All

  • Visual Studio Possible bug in Debugger - Locals window incorrectly reports values of base properties for a derived instance

    Attached is some example code that demonstrates the problem. I've set it up to use the NUnit test framework. The problem is not with the tests. These all pass, which is correct. The problem is inside the IDE if you debug through the tests. Setting a debugger break point on the last Assert() allows you to see the values of the variables in memory in the Locals window. If you look at the values of the variable derivedValue it will correctly report that the property BaseValue equals 11 and the property RealBaseValue equals 10. If you explode the plus symbol in the Locals window to look at the "base" it reports that the field _baseValue equals 10 (correct) and the property BaseValue equals 11 (incorrect). The same ef ...Show All

  • SQL Server Attached DBs coming online as READ-ONLY - SQL Server 2000 on Server 2003 R2

    Had a server that went belly up. ALL database files were on the SAN and were "supposedly" ok. We rebuilt the server to have Windows Advanced Server 2003 R2. Install went fine. Installed SQL Server 2000 SP4 + latest builds to 2187 and SQL Server 2005 SP1. That all went well. We attached a few of our DBs in SS2K and ALL of them are coming up in read only mode. We try to put then in normal mode my unchecking the read only option on the properties of the DB but we get the following error: ERROR 5105: Device activation error. The physical file named 'D:\myDB.mdf' may be incorrect. Device activation error. The physical file named 'D:\myDB.ldf' may be incorrect. Could not restart database 'myDB'. Reverting back to old status. ALTER DATA ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. How does Vector3.Transform work?

    I have the following matrix 1 0 0 0 0 -1 0 0 0 0 -1 0 0 1 0 1 and transform a zero vector by that. There is a transformation in the matrix, but I can't figure out how the math is done. Shouldn't this just be a 4x4 matrix multiplied by a 4x1 matrix For the fourth component of the vector, I tried just using 1. But when I multiplied them together by hand, I get a 0 vector. What am I missing Thanks. -Nick What do you mean "By hand" In my head that comes out to be: [0 0 0 1] Since you're casting that vector4 to a vector3 I might surmise the final value is chopped. I'm not sure what kind of transformation you're trying to do(it seems as though it might be the union of two different transformations) ...Show All

  • Visual C# C#.net How do you give a Windows service specific permissions?

    Hi, I want to be able to create a new user account with only the necessary privileges etc (getting a web webrequest from a web page, then writeing the result to a file). And configure the service to run under the new user account. I cant seem to work out how to do this. Hope someone can help me. Thanks in advance kered Hi if you want to configure a service to use a specific user account you have to - install the service - open up service manager (control panel - administrative tools - services) - right click on the service, choose properties - in the tab Logon, choose this account and supply the necessary info Hope this helps, please close the thread if it does ...Show All

  • Visual Basic How to open a CSV text file and import that data to a database?

    I work for a medical billing and accounting firm and we get these massive medical reports that are not sorted. What I am trying to do is write a program to add these reports to an Access database so that i can recreate the reports using crystal reports. I already have a system in place to sort add these reports to csv files and importing those files into a database and then refreshing a Crystal Report I already have setup with the new data. My goal for this program is to be able to open the program select a csv file, import that file to a access database, then generate a crystal off the updated database. Where I am having trouble is getting that csv data into the database. Any help will be greatly appreciated. ...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 MS SUPPORT: void GS(inout TriangleStream<PSIn> stream) { PSIn element; element.pos = float4 (0.0f, 0.5f, 0.5f, 1.0f); stream.Append (element); element.pos = float4 (0.5f, -0.5f, 0.5f, 1.0f); stream.Append (element); element.pos = float4 (-0.5f, -0.5f, 0.5f, 1.0f); stream.Append (element); } ...Show All

  • Smart Device Development how to create batch file msi?

    Can someone teach me how to create batch file msi. Evertime i solve some bug. i need to copy my system exe and zip it, then use email to send to user. And user need to unzip the file and paste to PDA by using ActiveSync. Just want to know is that any easy way What i hope is can direct click on msi then the new exe will help user update everything. Albert Khor, You can use msiexec command help is available on Windows XP Commands Regards, UK ...Show All

  • Visual Studio 2008 (Pre-release) MSDN Chat: DLinq, May 18th @ 12:45pm Pacific Time

    Show up and tell us what's on your mind! People from the C# and DLinq teams will be there to listen. We're still in the planning and development stage, so rest assured - we can react to your feedback. The official chat schedule entry . Add a reminder to your calendar. The chatroom itself . All upcoming developer chats . Have some time zone questions Check chats category on my blog for the next C# chat. See you there!  Scott Nonnenberg I can not agree that LINQ is all about working with in-memory data. The following is citation from “ The LINQ Project ” : “This integration provides strong typing over relational data while retaining the expressive power of the relational model and the performance of q ...Show All

  • Windows Live Developer Forums Can anybody help me out with some code...

    to get me started I know a little SQL [mySQL is what my hosting service offers], a little less PHP and even less Java - I am fighting the local live API - but I need to get some mappoints [name, lat, lon] pulled from a SQL database (actually it does not have to be sql, since our main database is filemaker pro and it is not sql - so if it can be done from a csv, or excel, or something along those lines... just as well] and map them... I actually have a ton of mappoints [4000+], though having them pulled based on the map that is showing might be too much to begin with..... Can anybody point me to some code that gets me started   Thanks a lot elwood Thanks - I guess I'll have to learn a lot more than I was hoping for ...Show All

  • SQL Server Grouping Dimension Values

    I have a question about grouping values in a dimension. I have a dimension that relates to the age of a person. When I run my ETL we bring in the age as it was at the time of the load. When I display that age to my users in a report, I would like to group the ages according to internal usages. Example: Age 16, 17, 18 would be grouped into a group of 16 to 18, etc.... This provides to us a larger statistic sample set, plus it makes the reports much easier to read. I am using Reporting Services to generate reports, but I was looking to move the grouping logic away from the client to the Analysis Services server. I actually have several dimensions like this where I would like to perform grouping. I was considering using a Ca ...Show All

  • SQL Server query engine error

    Can anyone tell me why I am getting this error when I try to view my report: Query Engine Error: '21000:[Microsoft][ODBC SQL Server Driver][SQL Sever] Subquery returned more than 1 value. This is not permitted when the subquery follows =, !=, <, <=,>,>= or when the subquery is used as an This is a problem in the SQL-query. Like the error says, the query has a subquery that returns multiple values (more than one row and column). Subqueries like that can't be in the column list or after the listed operators. Make sure that the subquery returns only one value. For example, next query won't work, as the subquery would return many rows (assuming there are many rows in the Suppliers-table): SELECT Pr ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. A way to generate beep through sound card

    I would like to generate a beep sound (for example a sine wave sound) with a particular frequency (Hz) and length (ms). How can this be accomplished with VB.net Rather than using pc speaker, I would like to use DirectSound or so... Thanks, but I can't find an example on TheZBuffer.com. I searched and searched... I found this piece of code: http://www.codeproject.com/csharp/messagebeep.asp It seems to do the job, but how to extract only the generate beep part and convert it to Vb.net I'm just a newbie programmer, so if anyone can do this, I would be most grateful! So I need just the function to play a beep with frequency X and length of Y milliseconds. ...Show All

©2008 Software Development Network