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

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

johnx

Member List

WingingIT
ChrisMcCabe
BilalShouman
Bluehunter
adorer
powerevan
Tamir Khason
HScottBuck
Steven.Dahlin
Elmo E
Andre.Ziegler
clinton0
anu_ooo
Alex Prado Romero
dev_bih
kushpaw
Purnendu
CFutino
arkiboys
goofaholix
Only Title

johnx's Q&A profile

  • Visual C++ Problems running deployed app after VS 2003 to VS 2005 conversion

    I have a C#/C++ application in which we commonly call C++ functionality from the C# layer via interop. This version of the application runs well in the following scenarios: 1. In VS 2003 (debug and release development environment (x86) and when it is deployed to other machines (x86). 2. In VS 2005 (debug and release) development environment (x86) However, the VS 2005 built application does not run (either debug or release) on another machine it is deployed to. When I try to run the VS 2005 compiled app on a deployment machine it complains that it cannot load one of my c++ DLL's. I have a total of 4 c++ DLL's. Because of point #2, I am suspecting that this is a deployment issue rather than something wrong with my DLL otherwise why would t ...Show All

  • Audio and Video Development syntax error or not supported yet?

    Hi gurus, Now I meet with a problem when I'm using MS HD DVD Simulator to test a disc. An XPath expression, /descendant::body/child::div , which I think all right, doesn't pass the MS Simulator though. And similar expression is found in XPath 1.0, W3C /descendant::olist/child::item selects all the item elements that have an olist parent and that are in the same document as the context node So, everybody please give your suggestions. Is it a syntax error or just not currently supported by MS HD Player yet Thanks! Unfortunately, HD DVD only supports a subset of XPath in order to make it easier to implement on low-cost hardware. Chapter 7 of the spec (not on me right now...) outlin ...Show All

  • Visual C# scope problem

    hi I've had this weird problem which is that : i declared this multidimensional array Code: public string[,] selectedTextInfo; i've initialize it in the form constructor Code: selectedTextInfo = new string[/*rows count*/, 2]; i've givin it a values in the load form event in a for loop Code: selectedTextInfo[i-2, 0] = editDataset.Tables[0].Rows [1].ToString(); selectedTextInfo[i-2, 1] = editDataset.Tables[0].Rows [2].ToString(); but when i'm trying to access a value from this array in the SelectedIndexChanged combobox event the value is null or empty " no text displayed just a blank" Code: MessageBox.Show(selectedTextInfo[0, 1]); //when i print the same messagebox ...Show All

  • Visual Studio Express Editions How to catch selection change of DataGridView Combobox

    I need to catch the selection change event of a combobox column of a datagridview. Thanks, RoC RoC, Firstly, there is some difference between the source of ComboBox, items from the database or from the program. I don't know whether you have bound the control to the database. Secondly, here I have an example on the SelectedIndexChanged event with the items are from program as follows: Private Sub ComboBox1_SelectedIndexChanged( ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged ' Cast the sender object back to a ComboBox. Dim ComboBox1 As ComboBox = CType (sender, ComboBox) ' Retrieve th ...Show All

  • Visual Basic O'kay so I now have a working application. How do I port it to other computers?

    I can install VB 8 onto other computers along with my application, but that seems unusual. The other PCs never will be programming in VB. They want to just use my application. Question: Please explain to me in a step-by-step button clicking and dragging fashion how to do this. More Simple To Vb menu click build. Then outside the vb open the folder of Yr app. You'll find there a folder bin and there You have the exe file. Just run it and everything is ok ...Show All

  • Windows Forms Possible C# bug in a definition and use of an event/eventhandler in a user-defined class

    Hi, I have defined a class derived from Panel class (let’s call it MyPanel). It contains three buttons, called btn1, btn2 and btn3. I have defined an event called BtnClicked, and I have thrown it in the code of btn1_Click, btn2_Click and btn3_Click (in practise, it raises when the user clicks on everyone of the three buttons). Definition of the event: public event EventHandler BtnClicked; Event throwing in the inner of the buttons’ click event handlers: void btn1_Click( object sender, EventArgs e) { BtnClicked(sender, e); } void btn2_Click( object sender, EventArgs e) { BtnClicked(sender, e); } void btn3_Click( object sender, EventArgs e) { ...Show All

  • Visual C# Timer Interval Problem

    Hello! The timer interval is an integer, but I want it to be a decimal - how can I do that I cant convert the other numbers to an integer because that won't work, the project im creating needs a decimal. Matt I don't think you should use decimal since timer interval has already in milisecond, if you want interval timer to be 1.2256 second for example, you can multiply it with 1000 first, round it down/up and then convert it into integer (since 0.6 miliseconds will have very very very little effect on the program ) ...Show All

  • .NET Development Cannot load type ...

    Hi, i have a problem. I have a class to do remoting, but i can't do it. The class is: namespace PoolHCService { public class RemoteHCPoolRef : MarshalByRefObject { } } In the server app.config i have: <configuration> <system.runtime.remoting> <application name="RemotePoolServer"> <service> <wellknown mode="Singleton" type="PoolHCService.RemoteHCPoolRef, PoolHCService" objectUri="RemotePool" /> </service> <channels> <channel ref ="http" port="7782"> <serverProviders> <formatter ref ="soap" typeFilterLevel="Fu ...Show All

  • Visual Studio Team System Users added to Contribute group are unable to view/create workitems

    Hi I have the following problem, I have created a project with an administrator account that is added as admin in reporting services, tfs and sharepoint. All works perfect. I now add a user to my projets Contribute group, I then add this user on the project portal as contributor and I add him to Reporting services as browser. I then log on as that user, I see the project, I can view reports, add documets etc but I can't view the Work Items, it doesn't give any errors, the page is just empty. When I try to create the work item it just says that i don't have permission. I have tried clearing the cache and connecting from another computer. Also when I want to assign a task to a user I can only view a few users that are admins and service acc ...Show All

  • SQL Server Error "An attempt to attach an auto-named database for file"

    Hello, I have seen some solutions of which I tried on this form for the error I am receiving, but I still cannot get the issue resolved. Here is my case: I developed an app using SQL Express as the local data source. I published it to my server using the Once Click install feature. When I look in my project viewer, under settings, My db connection strings are listed as follows: Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|\TAP_Master.mdf;Integrated Security=True;User Instance=True From another computer, I navigate to the publish site, install and run the application with no problems. I have on another computer, the same app with an updated version number that I wish to publish, however the difference is is that this ...Show All

  • Visual Studio 2008 (Pre-release) Many-to-many relationship keys in DLinq

    When mapping a many-to-many relationship, if the two foreign-key holding fields on the joining table are marked IsIdentity="true" then DLinq throws an error when attempting to traverse the relationship: A first chance exception of type 'System.InvalidOperationException' occurred in System.Data.DLinq.dll at System.Data.DLinq.ProviderBase.DeferredSourceReader`1.QueryableLink.BuildQuery() at System.Data.DLinq.ProviderBase.DeferredSourceReader`1.QueryableLink.get_Expression() at System.Data.DLinq.ProviderBase.DeferredSourceReader`1.QueryableLink.GetEnumerator() at System.Data.DLinq.EntitySet`1.GetEnumerator() at LinqManyToMany.Program.Main(String[] args) in c:\DEV\SRC\trunk\Temp\Linq\LinqManyToMany\LinqManyToManyAttributes\ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. From Express to Pro

    First off, let me say that this news about being able to develop and test my code on my 360 for an amazingly low price sounds excellent. I do have a quick question though. Will there be some established way to go about trying to get a game on Live Arcade that was developed with Express I know that I will definitely grab Express as soon as it's available and also have the subscription to be able to test my games on the 360, but I'm curious what my options would be if/when I write a great game :) Will there be some way to use the completed game as a pitch, or would it first be necessary for me to buy the Pro version If I had some sort of confirmation that the game would be put on Live Arcade then expenses for the Pro version wouldn't be a ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. (search) 3d prog to create/edit *.x files directly

    Hy @ all. I'm searching a 3d prog to create/edit *.x files directly, without all the exporting/importing issues. The only one I knew is MeshX, are there any others gonzo883. As I mentioned in my post here , you can download Softimage XSI Mod Tool with the X file addon and import/edit/export at your leisure. ...Show All

  • .NET Development XSLT - Getting the first N elements.

    I'm new at XSLT and I have a problem: I'm trying to create a stylesheet with, as input: <Events> <Event datetime=" 2006-10-13T11:20:00 "> <Title>blabla</Title> <Text>blabla</Text> </Event> <Event .... </Events> as parameters: $date ; $num as output: an XHTML showing the first $num elements whose date is > than $date In my mind the approach will be to order the elements and do a foreach with a if statement to query the elements with a suitable date ... but I need a variable to store the num of elements selected and exit the cycle... It isn't the case, I know. Can anyone tell me a more clever approach Thank you. .utaal ...Show All

  • Visual Studio NULL in Reports

    I have a report that displays a set of records in a table. There is one field (a date field) which can have a NULL value. I find that if the first record in the datatable has NULL in the date field, then none of the dates display at all. The rest of the data displays, just nothing appears in the date column. If the first record in the datatable contains a valid date, then all of the records with dates print fine, and the ones with NULLs print #Error in the date column. This does not only affect dates, but I've tested it with other datatypes as well. Basically, if there is a NULL in the first record, then no values print in that column at all. This behavior is only apparent with SQL Reports designed in visual studio 2005 and ran from with ...Show All

©2008 Software Development Network