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

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

sjm8

Member List

Donal McWeeney
jdt1234
Raman_HP
J1mlad
tnfemme
nbrege
Suman Ghosh
WL_07
Shaf2k
brian_tsim
Andrew_Shough
Hernan93
Computer Guy69146
dowda
jankowiak
Rames Gantanant
Michael Hansen
Qdshi
Alex.Zealot
ippological
Only Title

sjm8's Q&A profile

  • Visual C# Two way Communication between exe and dll

    How could i acheive two way communication between the exe and my dll (without adding reference of each other in both ) thanks hi, thanx for ur quick response but i think i didn't make it clear enough. My problem is that I have a class residing in the dll which needs some data from the exe..(ie A function in the dll needs access to some classes defined in the exe) and also at the same time exe should have access to all public classes defind in the dll also. ...Show All

  • Visual Studio 2008 (Pre-release) Zoom in/Zoom out in the DLinq designer?

    Hello! In the WebCast showing new things of the May DLinq CTP the guy showed zooming in/out of the DLinq designer. What should I do in order to zoom in/out of the designer Best regards, Henrik Dahl For zooming, how about the ubiquitous slider that we are starting to see in office/WPF/etc It would make sense with the future direction of smart clients. Jim Wooley http://devauthority.com/blogs/jwooley ...Show All

  • Visual FoxPro Microsoft Access to Visual FoxPro?

    Hey again guys, it's been a while. I am here for a co-worker of mine. We have to do a database to database transfer from Access to FoxPro. The thing is, our DBA wants us to write a program for this; however, we just cannot find anything for answers. My question for you is: would this be possible to do a database transfer If so, what am I missing here Something must be right under my nose and I am not seeing it. Thanks in advance! http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=565932&SiteID=1 ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Collision questions

    Hello. I'm currently trying to make a plane game. I'm working with the space divison right now, I was thinking of dividing all the triangles into cubes in an array. I have looked a long time for an equation to check collision between a cube and a triangle but the stuff I have found used very advanced mathematics to describe it. I've heard that cube and triangle collision could be accomplished with quite simple linear algreba I havn't read so much math due to my age but I know linear algreba quite good. My second problem should be quite easy, It's about how to check if a single point collides with a triangle. I think this can be done easily by using the bayCentric function but I just can't figure out how. I wonder if anyone could explain t ...Show All

  • Visual Basic Publish question

    I think I asked this question in the wrong forum.....Maybe this is the right place... I created an application and published it. and it comes up on my Windows 'start'-'All Progams. Problem is, when look in Windows Explorer under "C:\Program Files" I can't see it. I right clicked on MyApplication under "All Programs" and it shows its under: C:\Documents and Settings\Administrator\Start Menu\Programs\MyApplicaton. When I navigate to that location all I see is a SHORTCUT. Where is my application... And I will (as usual, and strictly out of curiosity) ask the question "why do you want/need to see where the application was installed ". Best regards, Johan Stenberg ...Show All

  • SQL Server Retrieving data types is slow

    Hello, i'm using SMO to retrieve information from various databases. It works well except for one thing. When I call the Column.DataType property to get the SQL type of a column it takes a very long tine. I have a few databases, each with some tables. There are about 75 columns I think. If I just browse all columns with SMO and write each name if it not a system one, it takes about 15 seconds (pretty much anyway). If I also retrieve the data type it takes about one minute. Any ideas why The server is a local one. Thanks ...Show All

  • SQL Server trigger- get row number from inserted/deleted

    I need to add the row number or record number to the 'inserted' and 'deleted' tables in a trigger. Among other things, I have tried- SELECT 1 as rowId, i.* INTO #ins FROM inserted i if @@ROWCOUNT > 1 --if multiple rows, set row number begin SELECT @pkWhere = coalesce(@pkWhere + ' and ', ' where ') + PKF.colName + ' <= i.' + PKF.colName FROM #primaryKeyFields PKF set @strSQL = 'update #ins set rowId = (Select Count(*) From #ins i' + @pkWhere + ')' exec (@strSql) end -the above sets rowId for every record to the total instead of sequential. Keep in mind that this code is used to create a trigger for any table, hence I cannot specify any column names literally. This SHOULD be simple... right ...Show All

  • Gadgets Detecting Gadget visibility / screen saver & power saving state

    Is there anyway to detect if a gadget is visible or covered by other applications or if the screen saver / display power saver is on I'm creating kind of a slide show gadget which will download images from an external server and it's wasting of server bandwidth to keep downloading the images when the gadget isn't shown so I need some ways to detect when the gadget should be suspended. You can detect if it's visible on the Sidebar, see my comments in this thread. You can't however tell if another application is covering it, the screen saver is on, or the display is in power save. This could however be done with an ActiveX COM. For the window overlap, you'd have to step through all the active window han ...Show All

  • .NET Development How to get versions of services/programs running on another system?

    Hi, I want to get the versions of the services/programs running on another system. Does any body have any idea as to how it can be done.I thought of using SNMP.However I am not sure of how to use it thanks in advance, nhd WMI or System Management objects work here. Works in .Net too. Base query is "Select * From Win32_Process" ...Show All

  • Visual Studio Express Editions StreamReader & StreamWriter-Error!

    I've searched a round a little, and am having trouble with StreamReader in VB. When I debug the application, I go to open a test file. When I click Open from the dialog, the debugging process pauses and VB shows the form's code. A line: SR.ReadLine.ToString(textbox1) is highlighted. A box appears: I don't understand what it means, I am loading Hello World into a textbox from a file. Sorry if this question seems "stupid," just got this a week ago. Thanks in advance! Kevin [edit] can't see the image goto http://www.freewebs.com/hardwarecompugeek/error.jpg Uhh... Here you go: Opentxtfile.Filter = "Plain Text Files *.txt|*.txt" Try Dim sr As New System.IO.StreamReader(Opentx ...Show All

  • Software Development for Windows Vista Can get IP from router, but cannot connect to Internet

    I have installed Winows Vista Ultimate (32-bit) on an HP Pavilion a1610n with the AMD Athlon 64 X2 4200 dual-core CPU. 2 GB RAM, 250 GB HDD. My wireless NIC is a Netgear wg311v3 PCI card, and my wireless router is a Netgear WPNT834 RangeMax 240 (802.11b/g). I am running DHCP and Shared WEP (128-bit) on the router. I can connect to the router and get a dynamic IP address. However, I cannot ping the router and I cannot ping the IP assigned to the NIC. I can ping localhost (127.0.0.1). In Vista network settings, the WLAN shows up as "Unidentified Network", Access is "Local Only", and the network keeps switching to Public, even if I manually switch it to Private. Obviously, I cannot surf the Internet since ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. The Unofficial "Hooray I'm Done With my DBP Game" Thread

    When you get done with you game and sumbit it, crow about it here. A little over 24 hours left until the deadline and I'm so amazed I'm done, so much better than college Thanks to ZMan for his help, good luck all. I'll post the source code for my submission once the deadline hits. Bill Well, I've just finished uploading Space Fortress - a remake of Space Zap! from the early 80's.  I've still got a list of things I wanted to add, but that I ran out of time for. The quote about adding people to a late project will make it later is very true.  I'd started with a team size of three - Me, my wife, and my 3.5 year old playtester, Katrina. Feb 27th we added a new team member - Naomi. I'm just happy my wif ...Show All

  • Smart Device Development Function that loads an application for today screen plugin request...

    Is there any function i can use to load an application and place it at the background(hide it) using native C++, so to call it from a Today Screen Plug-in DLL (In this way i can start up an application when the plugin is fired. If the user closes the application accidentally, this function will bring it in life again ) Do i want too much! ...Show All

  • .NET Development Downloading Collection of Images from Remote system to Local System using Windows Services,C#

    Hi I am Govardhan new to .NET Technologies.I have some problem in Windows services,I am trying to download Collection of Images from Remote sytem Folder to Local system Folder. I have done this from Local system folder to local system Folder using DirectoryInfo Object.But it is not working when I give "Remote system path like http:\\test\FolderName",There are 3000+ Images in this folder. I need solution how to download these images from Remote system path Is is possible or not Can any body help me Regards Govardhan If your remote system is under windows, you can install a tiny webservice with only one method that will return list of existing files, so from your win32 service you call ...Show All

  • SQL Server Sql server 2005 sp2 and oracle access

    When I try to create a model in Report Builder based on a connection to Oracle 10g database I get the following error. ORA-02179: valid options: ISOLATION LEVEL { SERIALIZABLE | READ COMMITTED } Is this a bug in the CTP version or am I missing something I am experiencing this issue and have found only one practical work around: http://www.ureader.com/msg/115710202.aspx Supposedly SP2 addresses this issue, but you need to install the Oracle client on each client computer that will access the report server remotely (I assume through the ReportBuilder): "The Oracle client must be installed on the report server and on any client computers that will access the report server remotely." ...Show All

©2008 Software Development Network