Skylark's Q&A profile
Visual C# No data exists for the row/column
Hi all, I had a question.Whenever the program execute the statement string ServerStatus1 = reader1.GetString(1); it will give me the abovementioned error. But I had query the statement without any problem from Oracle database. Does anyone know what is the problem Thanks String strSelect = "select ServerID, ServerStatus, LastUpdatedTime from ieiserverstatus where ServerID = '" + ServerName + "' order by LastUpdatedTime desc limit 1" ; try { string connection = "DRIVER={MySQL ODBC 3.51 Driver};" + "SERVER=" + HostName + ";" + "DATABASE=&quo ...Show All
Windows Forms Databound Combobox Problems
VS 2005 allows us to drag a table (Detailed View) from the Data Sources window to automatically create an form that has databound controls, Binding Navigator, Binding Source, etc. I have a Contacts table and a Categories table. Categories is the Parent (One) table. Contacts is the Child (Many) table. Categories (<CategoryID>, Name) Contacts (<ContactID>, <CategoryID>FK, Name) CategoryID and ContactID are int Identity not null fields. Combobox settings are: Data Source: categoriesBindingSource Display Member: CategoryName Value Member: CategoryID Selected Value: contactsBindingSource - CategoryID I have a form that ...Show All
Windows Forms Terrarium Server Available
I've just posted the Terrarium Server Beta 1 installer. This is the same server that was previously available at www.gotdotnet.com. I will be going over the posts from the beta forum over there as well as any feedback here and incorporating that into an updated release of the server. ...Show All
Software Development for Windows Vista WWF and SCORM
Is there any research or effort ongoing at Microsoft (James ) on using WWF in a SCORM compliant solution I'm referring to the ADL Sequencing specification (SCORM 2004 Sequencing and Navigation). Is Microsoft interested in SCORM at all There is very little info on Microsft.com on e-learning, specifically on Learning Management Systems (LMS). Looking at WWF and SCORM, it may be a task as simple as providing an XSLT transform between XOML (XAML) and SCORM XML, or a more complex task of providing a set of SCORM compliant activities or a SCORM Sequencer. Thank you for any feed-back you may have :) ...Show All
Visual Studio Express Editions Beginer Question -
I have a big problem! I need to make some photoshop scripts for myself to make life more easy. I want to use Visual Basic 2005 Express Edition. Because it is easy to make interface with it Now I am learning how to script. I made the first "Hello, World!" Example in photoshop scripting guide And it worked perfectly. There is no problem except this: When I need to do this: newTextLayer.TextItem.Position = Array(0.75, 1) or this: docRef.Selection.Select Array( Array( 50, 60 ), Array( 150, 60 ), Array( 150, 120 ), Array( 50, 120 ) ) or anything else having to do with Array(then some thing inside) it says: "'Array' is a type and it cannot b ...Show All
.NET Development Installing .. advpack.dll
Not sure if this is where to put this question but I can't find anything else on these forums (shrug ). I'm trying to install the 2.0 redistribution package and get an error with c:\windows\system32\advpack.dll when trying to install. Any suggestions The reason I'm looking to install it is because I have an application that requires it. Maybe I actually need something different Ugh. lol 1. Remove advpack.dll (use Unlocker if it says the file is in use) 2. Place the advpack.dll from here in the spot of the old advpack.dll which you ...Show All
SQL Server rsAccessDenied
I have a reportViewer control on a webform. In my partial class I set the report path, server and parameters in the Page_Load. When I run the report I get this error: The permissions granted to user 'NT AUTHORITY\NETWORK SERVICE' are insufficient for performing this operation. (rsAccessDenied) Here is my code: Dim u As New UriTypeConverter Dim ReportParameters(0) As ReportParameter ReportParameters(0) = New ReportParameter("ProjectKey", 262) rv.ShowParameterPrompts = False rv.ServerReport.ReportServerUrl = u.ConvertFromString(" http://localhost/ReportServer/ ") rv.ServerReport.ReportPath = "/Test/Dupl ...Show All
Visual C++ setting up VC++ 2005 express beta 2 to compile win32 gui apps.
Hi donjonson! How do I go about doing this 1. Create a Win32-Console-Application 2. Go to the Linker-Settings and change the "SubSystem" to "Windows" (Project|Properties|Linker|System) -- Greetings Jochen Kalmbach Microsoft MVP VC++ My blog about Win32 and .NET http://blog.kalmbachnet.de/ PS: Please mark an answer as "answered" if it helped!!! Read this article too: http://lab.msdn.microsoft.com/express/visualc/usingpsdk/default.aspx ...Show All
Windows Forms opening a paticular cell in editMode when dg row is highlighted
hiya, When the user clicks on a dgRow, I want to be able to be open the 5th cell (in editMode) of the selected dgRow.Ideally, I want the underlying datable to be updated if the user subsequently enters data in this cell and then moves focus to a different control on the winform.(I can do the update no prob, but I'm not sure which dg ...Show All
Windows Forms Essa
I am an observer who is looking forward to becomming a participant. Essa has become the dominant, and sometimes singular creature in my ecosystem. I may be wrong , but it seems to be winning unfairly, I say this because when it is killed by a carnivor like the asgard 3.5 it dies, but disappears without leaving food... thus the asgard starvs. Is i ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Players move faster at higher framerates
Okay, this is really bad. Clearly, a hard-coded "2" that's applied to my character's "Left" property on every frame render isn't going to cut it. Obviously, the game will run slow on crappy hardware, and there's not much I can do to prevent that. But the game shouldn't run faster on really good hardware! How can I cap the movement speed, or better yet, guarentee a certain speed within reason I can already calculate frames per second, and how much time has elapsed between each render, so I'm sure it's just some simple multiplication thing I have to do from there... but math was never my strong point! How do I do this PS, it would ...Show All
.NET Development How can I detect available SQL server instances in the neighboring network?
I'll include this in my installation program so that it's easier for users. Any idea Thanks If you are using SQL Server 2005 then it has SMO library that you could use in your code to get a list of the servers. Earlier versions have DMO library (which is a COM) and you could use it to get a list ...Show All
Software Development for Windows Vista Trouble with WebService and Persistence
Hello all, I'm newer to the workflow world and I have a few questions : First, a little background: I've currently got a very simple sequential workflow wraped in WebServiceInput and WebServiceOutput and all interfaces and everything are setup correctly. I use the publish as web service option and all is well. I then try to execute the web service using the "Invoke" button that is on the default web service form: I then get this error: System.InvalidOperationException: The workflow hosting environment does not have a persistence service a ...Show All
Game Technologies: DirectX, XNA, XACT, etc. DirectX or Managed DirectX ?
Hello, it's my first post here ;) I've been developing in DirectX for several years (using c++). I am thinking if it's worth to move to the "managed world" I can do everything in c++ and directx but creating apps in c# and mdx is much faster and simpler. What is your opinion Is it huge performance penalty making 3D games in c# and mdx SirMike wrote: Hello, it's my first post here ;) Welcome SirMike wrote: I've been developing in DirectX for several years (using c++). I am thinking if it's worth to move to the "managed world" Fair enough... but before I go any further... remember that you can alway ...Show All
Smart Device Development Using Notification: HTML Image?
Hi all, I'm using a Notification. When I show it, I would like to display an Image as part of it's HTML content. The application is running in "disconnected mode", and I would like to pull the source image from the file system. 1) Is this possible If so, in the code: HTMLString.Append("<img src='{ }myImage.jpg' width='75' height='75'>"); 2) How do I reference { } from the file system 3) Is there a better way Thanks in advance, Eric I think now i got the problem Actually I dont know what notification HTML uses like is it a temp HTML window or A parser in ...Show All
