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

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

FarReachJason

Member List

GVZ
imdqa
Jonathan Stratford
matthew_arena
Ramue
Rafael Mores
spattewar
hanjg82
Mgrondin345
SimonS_
hemo
shido
Ethan Pack
mobigital
Sephiroth_
winprock
Apollo13
rwbogosian
OzerK
Albert_Khor
Only Title

FarReachJason's Q&A profile

  • Windows Live Developer Forums Mapinfo co-ordinates

    Can anyone help in identifing the projection used in virtual earth to display. We are importing coordinates from mapinfo tables in Irish transverse mercator grid and converting to lat/long but the points are not displaying in the incorrect position. Any help appreciated. Thanks Derek. Here is a reading from Mapinfo: Easting 247118.68 Northing 198208.55 -7 17' 51.260496 53 1' 57.058752 and the same in decimal degrees -7.29757 53.0325 ...Show All

  • Visual C# SQl server authentication issue in C#

    Hi Guys, I have a tool written in C# which connects to a remote SQl server 2005. Its working fine while I use "Integrated Security". However, I want to login the database using another credential instead of using the currently credentials associated with the tool. The reason for this was because not all the users using this tool have permission to access the database. So, I need sort of impersonation to allow any user using this tool to connect to the database. Is there any simple and efficnet way to do this Thanks. Thank you very much for you guys suggestions. I have figured it out that the login failure was due to my confusing "windows authentication account" with " ...Show All

  • Visual Studio Express Editions New application problems

    Hello, I have recently downloaded visual C# express edition, and whenever I try to create a new application (be it a windows application or not), it doesn't work and I receive the following error message: "The filename, directory name, or volume label syntax is incorrect. (Exception from HRESULT: 0x8007007B)" Does anyone know how to solve this problem I am grateful for your attention, and I hope this hasn't been postet already Belgerog. belgerog wrote: Does anyone know how to solve this problem A search for 0x8007007B finds a number of threads that address this same symptom. http://forums.microsoft.com/MSDN/Search/Search.aspx words=0x8007007B&localechoice=9&S ...Show All

  • Visual Basic How to gracefully handle timeout expired?

    Hi, there. I would like to find out is there a better way to handle System.Data.SqlClient.SqlException: Timeout expired. I am not looking for performance tunning advice or setting timeout to a higher limit, or running a backgroud thred type of advices. I want to see how to trap it and bubble it up to the end users, then possiblly retry the call later. It is a win form app in vs2005. Thanks! Thank you for your reply. Yeah, it will be grateful if you can give me a hit for my reference. Also, I am using Microsoft ApplicationBlock DataAccess as my data access layer. I am not sure it returns a universal false/nothing or exception code, I may need to write a wrapper for that. Any suggestion ...Show All

  • Windows Forms Programmatically Scroll to point in DataGridView

    Is there any way we can programmatically scroll to a client point(which is not visible ) and bring it in the viewable area of the DataGridView This doesn't work if the cell is disabled and also if we have to bring column/row header in viewable area.  I think if I do it by manipulating the ScrollBar Value, it should work. Any idea how we can calculate the scrollbar value programmatically to bring a region ( rectangle ) in viewable area of the DataGridView control.   ...Show All

  • Microsoft ISV Community Center Forums Applying InsertBreak to a style?

    Hi, Using Word 2003 and not fluent in writing macros. I'm trying to write/string together a macro that would insert a page break in front of a style called H1 if H1 is on an even page. I've tried dozens of different pieces of code and can't get it to work. What I've tried is to find all occurences of H1 and when found, applied this: Selection.InsertBreak Type:=wdSectionBreakOddPage Unfortunately I'm not skilled enough to do this fully, and haven't been able to find any example macros that would do even something a little bit similar, so that I could modify that to my needs. Any suggestions/help you can provide will be much appreciated!!! Thanks, Laura Laura, Sorry, I don't know why th ...Show All

  • Visual Studio 2008 (Pre-release) Custom transport - protocol transport

    Hi, I'm trying to understand the building blocks that go into a custom transport. For my specific scenario I need to build a custom TCP transport to support different message framing scenarios. However, I was wondering where one would implement high level protocol logic. For example, let's say you have simple text messages like: LOGON| REQUESTSOMETHING| HEARTBEAT| etc. Now, for example the client sends REQUESTSOMETHING| before a LOGON| thus you need to reject the message and every x seconds you want to send a HEARTBEAT| .. etc... where would this session logic be implemented Thanks, Tom I guess it's just because it's a sample. Have you looked at the UDP transport sample That has async implementations for ...Show All

  • Windows Forms How to iterate through Windows Forms list box

    To find the selected items in a mulit-selection list box, I have tried foreach(ListItem item in myListBox.SelectedItems) but "ListItem" is not recognized. How can I identify each of the SelectedItems in order to extract their value Thanks in advance If you bind a datatable to the listbox, the items in the list are of the DataRowView type. To iterate through them you can use something like: foreach ( DataRowView rowView in listBox1.SelectedItems) { DataRow row = rowView.Row; //Process row... } If you're using typed datasets you can also cast rowView to a typed row... Andrej ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. 3D Listener Orientation issues

    Hi all, I'm experiencing some weird behavior using 3D Sound in a game I'm developing with a team for my final project in school. Here's the basic setup: We have a sound dll that we've created, so all the code snippets here is from that dll. The listener is attached to the camera, and is updated every frame (at the moment, until I get it working right) Everything is working the way it should except for two things. #1 The first thing is pretty major. The orientation for sounds is perfect when I initially join the level, with the sounds panning left and right and muffling behind the camera. The problem comes when I rotate the camera. If I turn the camera to the left 90 degrees, and play a sound that was in front of the original camera positi ...Show All

  • Windows Forms Web Browser "History".

    How do I setup the combo box in my web browser program to record the users websites You know, the the combo box in IE does, if you type something it, it will record it and you can select it later without typing in the website. Thanks! that would be a bad idea trying to access the registry as not only is it being inefficient but security issues also. you can set the combobox's autocomplete mode/source values to get the values. set the AutoCompleteMode to SuggestAppend (or whatever you like) Set the AutoCompleteSource to AllUrl ...Show All

  • Microsoft ISV Community Center Forums Vlookup from various files

    Hi, I have the below macro that pull data from different files based on the dates stated in Column A. This assumes that the data can always be found from cell B2. However, I will like to have a macro that will do a vlookup from the open files. Pls advise. Sub Macro1() ' ' Macro1 Macro ' Macro recorded 15/08/2006 by User Dim filedate As String Dim times As Integer Dim filefound As String Dim thisfile As String For times = 1 To ActiveSheet.UsedRange.Rows.Count filedate = Range("A" & times).Value thisfile = "C:\Documents and Settings\Simon\Desktop\VBA\VBE\" & filedate & ".xls" filefound = Dir(thisfile) If filefound <> "" Then Workbooks.Open Filename:= _ "C:\D ...Show All

  • SQL Server Create Destination Table Dynamically in a program

    HI, I'm programmatically able to import data between tables when the Destination table already exists but when Detination table has to be created on the fly (Name will be provided), I'm not successful in doing so. Basically the requirement is to dump the resultset from the source in to a temp table so that the temp (Destination) table matches the Source's Schema exactly. Has anybody done that Any help in this regard is greatly appreciated. Pavan Pavan Kurimilla wrote: HI, I'm programmatically able to import data between tables when the Destination table already exists but when Detination table has to be created on the fly (Name will be provided), I'm not successful in ...Show All

  • SQL Server Accessing SQL Server 2005 stored procedures from Visual Studio.NET

    Hello, What permissions do I need to set on our new SQL Server 2005 test server so that I can see the stored procedures, views and tables from Visual Studio development environment. Example, I can see my older SQL Server 7 tables, edit them, write stored procedures, and so on. But while I can see the SQL Server 2005 and its databases, the folder underneath are empty and I cannot right-click to create New stored procedure or table. My guess is that there is security involved, if so, what do I set on the new server If I'm wrong, and it's something else entirely, please advise. Thanks! See Books Online for answers on permission required by all database operations. For example, the command to create a tab ...Show All

  • Visual Studio Express Editions LINK : fatal error LNK1104: cannot open file 'user32.lib'.

    Hello,   I've tried everything to get ANY program to work and they won't. Not even "Hello World" or code copied directly from help.   Always the same:   LINK : fatal error LNK1104: cannot open file 'user32.lib'.   I've read all the suggestions here, followed all the directions including from the websites:     1. Uninstall beta versions   Before installing, you must uninstall any previous versions of SQL Server 2005, Visual Studio 2005, and the .NET Framework 2.0 (this includes Tech Preview, Beta, or CTP versions).   2. Download and install Visual C++ 2005 Express Edition!!   3. Register   4. ...Show All

  • .NET Development How-To (Object Class => Binary Serialization => To Memory => Encrypt => Save to File)

    Hi Every body .... I have a [Serializable] Class like this ======================================================== [Serializable] class Customer { private string _CustomerName; private string _Country; public string CustomerName { get { return this._CustomerName; } set { this._CustomerName = value; } } public string Country { get { return this._Country; } set { this._Country = value; } } } ======================================================== How can i use Binary Serialization to serialize the object class temprary to Memory and Encrypt it and then save the encrypted to file. Like this 1. Object Class => Binary Serialization => To Memory => Encrypt => Save to File 2. Read file => To Memor ...Show All

©2008 Software Development Network