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

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

strix

Member List

Mo Majad
Parceval
spshah
ichi
fiaolle
PeterLlwr
Douglas Nakamoto
Roof Top Pew Wee
Fahad349
wls1973
kalai
Scott McKeown
NeilG
Pure Krome
JFoushee
Cam Evenson
KFrostILEM
mahendra_nath
Hyungchul Shin
oatman
Only Title

strix's Q&A profile

  • SharePoint Products and Technologies reference to a listitem into a list folder

    Hi all, I'm looking into WSS 3.0 lists. I'd like to know if I can create a "link" list item, that represents a reference to an existing list item into another list folder. I'm going to explain myself with an example. I'd like to create a structure like this: List1 Folder1 ListItem1 Folder2 ListItem1 (this is a "link" list item) In this way, I can create a ListItem, and then put a reference to it into other folders in my list folders structure. When I edit ListItem1, changes should be immediately applied to ListItem1 links in the folders structure (because links are simply references to the same list item). And... if I enumerates items of Folder2 (or through SPQuery or SPView), I should be able to ...Show All

  • SQL Server getting primary key id on insert

    i have the following code in visual studio 2005 using VB it is running an insert query - this works fine but i want to know how can i get the primaty key value(which is auto generated) of the row that i just inserted... Dim conn As New SqlConnection( My .Settings.connStr) conn.Open() Dim sql As String = "INSERT INTO tblProspect (Prspct_FirstName, Prspct_LastName, Prspct_PropIDPrimary, Prspct_PropIDSecondary, Prspct_ApplicationStatus, Prspct_DateSubmittedOn, Prspct_PrimaryRent, Prspct_SecondaryRent, Prspct_MoveInDate) VALUES ('" & Me .txtFName.Text & "','" & Me .txtLName.Text & "','" & Me .cmbPrimary.SelectedValue & "','" & Me .cmbSecondary ...Show All

  • SQL Server Delete syntax to delete a record from one table if a matching value isn't found in another

    I'm trying to clean up a database design and I'm in a situation to where two tables need a FK but since it didn't exist before there are orphaned records. Tables are: Brokers and it's PK is BID The 2nd table is Broker_Rates which also has a BID table. I'm trying to figure out a t-sql statement that will parse through all the recrods in the Broker_Rates table and delete the record if there isn't a match for the BID record in the brokers table. I know this isn't correct syntax but should hopefully clear up what I'm asking DELETE FROM Broker_Rates WHERE (Broker_Rates.BID <> Broker.BID) Thanks I use the zero because the select list is not relevant. Your syntax will work fine. I need to do something like ...Show All

  • Visual C++ C++ declaration of Large number Variable type

    I want a variable to hold a very large numbers (10 bytes, 80) bits and looks like this in decimal 1208925819614629174706176 (25 digits) how do I declare this as a varaible in the begining Plus I am also using pow(,) function and it keeps throwing up an error. James ( james2003g@hotmail.com ) Yes, it is a library. Yes, there is no other way. May I know, what are you using big numbers for Andrei ...Show All

  • Smart Device Development Rebuilds All Projects Every Time (even with no changes)

    I have a solution with several C# projects in it targeted for Windows Mobile 5 devices. When I hit F5, all my projects are recompiled and redeployed every time. This occurs even if there are no changes. Is this a known problem Are there any workarounds This is a huge impediment to development as it takes about 3-5 minutes to build and deploy. The recompile appears to be related to the "Enable Code Analysis" flag. If I uncheck this flag in the UI (Code Analysis tab), the code isn't recompiled when there are no source changes. Projects are still redeployed, however. ...Show All

  • Windows Forms Which control should I use?

    Hi all, I'm trying to writing an application which will contain an interface similiar to a windows console(cmd.exe application). The interface is the same not the function. What I would like is for the user to be able to supply input using the user interface and for the application to be able to write output to that same user interface. It is similiar to the widows console also in the sense that once the user enters a command they cannot go back and change it. A couple of extra nice features I would like, but which are not necessary, are ability to print the line number and the ability for the user and the application to be able to choose what font they will write in. So what windows control for .Net 2.0 would you recommend Is there even a ...Show All

  • .NET Development FileSystemWatcher.Created does not fire for files on a Unix NFS Share

    I have a directory on a Windows server that is also a NFS share (with Services for Unix). I created a FileSystemWatcher and configured for the .Created event. When i copy a file to that directory locally on the windows machine the event fires. When i copy a file to that directory from a unix box using the NFS share the event does not fire. The file does show up in the directory though. Here is the code I am using to create the FileSystemWatcher.      FileSystemWatcher filewatcher = new FileSystemWatcher ();      filewatcher.Path = @"C:\FromUnix" ;      filewatcher.Filter = "*.*" ;      filewatcher.Created += new FileSyste ...Show All

  • Visual C# Need help converting VB to C#

    Hi Can someone help me by converting this VB to C#. Thanks a bunch. James Keele Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click MsgBox(Modulo10(TextBox1.Text)) End Sub Private Function Modulo10(ByVal strNummer As String) As Integer 'strNummer may only contain numbers between 0 und 9! Dim intTable(10) As Integer Dim intTransfer As Integer Dim intIndex As Integer intTable(0) = 0 : intTable(1) = 9 intTable(2) = 4 : intTable(3) = 6 intTable(4) = 8 : intTable(5) = 2 intTable(6) = 7 : intTable(7) = 1 intTable(8) = 3 : intTable(9) = 5 For intIndex = 1 To Len(strNummer) intTransfer = intTable((intTransf ...Show All

  • .NET Development XMLDocument wont accept space at the start of an XML Document.

    Hi all, I have the following xml document -------------------------------------------------------------------------- (space here) < xml version="1.0" encoding="UTF-8" > <wfmcase> <case_details> <caseid>case id</caseid> <archive_status/> </case_details> <error_status> <error>error</error> <error_type>type</error_type> <error_message>message</error_message> </error_status> </wfmcase> ------------------------------------------------------------------------------- If i leave a space before the first line in the xml document i get an error with the below code. If i remove the empty line at ...Show All

  • Visual Basic Create Empty DataGridView Rows

    How do i start my form with a datagridview (with alternating cell styles) which fills the table with empty rows Much like with a new installation of itunes, the table shows the alternatating row style effect with empty rows, how can i do this Some screenshots to compare: This is what I want (screen from itunes): http://h1.ripway.com/whatever/blank_itunes.JPG This is what I have so far (screen from VB Express 05): http://h1.ripway.com/whatever/blank_vb.JPG   Thanks to all who've read this. You can use the datagridview's AlternatingRowDefaultCellStyle to change the back color of every other row. Use the datagridview's RowCount to set how many rows are displayed ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Playing SpaceWars without 2 Xbox Controllers!

    I ran out and bought a $40 XBox 360 controller so I play the starter kit demo only to find out it requires 2 players! ! ! arggh. I do I get it going with the 1-controller I don't care if Player2 just stands there. I want to mess with this thing. I just can't bring myself to buy another $40 controller just press the 'Start' button a couple of times. Back when Beta I was out, I didn't have any Xbox 360 USB controllers. So I found my own solution. Turns out there were some pre-processor directives. I can't remember specifically, but I believe there were a bunch of "#ifdef/#endif", and in-between there was code for keyboard support. I believe the #define that defined some debug-Whatnot was commented out. All I did was uncomm ...Show All

  • Visual Studio Team System HELP: Accidently deleted an important project and i need it back!

    Hi all, Here is the deal. I was attempting to move a project in TeamSystem to another project. I had everything checked in and I had a copy on my hard drive. I deleted the project with TFSDeleteProject.exe and then went to create a new one but when I set up my new Workspace and started to add my source I found my source was no longer on my drive. Ok. So I started to freak because this was approx 3 months work for me. We have nightly backups but I had left the backup to my systems team and they only backed up the databases. So I created a new install of TeamSystem on another machine and restored the databases. So far so good , I can connect to the new server and see the 6 or 7 projects I have in there including the project I delete ...Show All

  • .NET Development .net runtime 2.0 error reporting

    I'm getting a runtime error on a window's service that I wrote to handle querying and updating a SQL database. I use system.data.oledbcommands to accomplish this, and I have no idea how to research the cause of this runtime error. Where should I post the error message to get some help Thanks! Ok, here is the error: Event Type: Error Event Source: .NET Runtime 2.0 Error Reporting Event Category: None Event ID: 5000 Date: 11/1/2006 Time: 10:09:41 AM User: N/A Computer: VALOPS29 Description: EventType clr20r3, P1 fmseng3service.exe, P2 1.0.0.0, P3 4540f22a, P4 system.data, P5 2.0.0.0, P6 4333aea2, P7 1c8f, P8 1cd, P9 system.data.oledb.oledbexception, P10 NIL. For more information, see Help and Supp ...Show All

  • Visual Basic Can't Get VB6 Serv Pak 6 to install in Vista RC1

    Has anyone gotten VB6 Service pack 6 to install in VISTA RC1 I tried and it errors out with some cryptic error about a missing file and quits. VB shows no sp installed and programs that were created with SP6 installd on XP will not run in the API on Vista RC1 with an error message "Component missing". Has Microsoft a fix for this We have lots and lots of custom written programs that we will have to maintain and support on VISTA (if installed) and there seems no way to do it because the service Pack 6 can't install. Chris, I now have VB6 SP6 installed on Vista. When I ran the VB6 install, I did not run it as an Administrator. I then, by hand fix the peices of the install that did not work during my install. Th ...Show All

  • Visual Studio Sandcastle November CTP - Issues with some xml tags.

    Hello All, I have just been testing the November Sandcastle CTP and I have noticed a few small issues regarding some of the xml tags. I have created a simple class which I have included which demonstrates these issues. When I compile this code and build a v2.0 .HXS help file using either the Prototype or VS2005 presentation type, these are the following issues I have noticed in the example ExampleMethod() method and are reproducible using the code example I an included: - 1) The caption of my <seealso> tag does not appear. - 2) In the <example> tag, the <see cref="Object"/> works, but the <see cref="ExampleMethod"/> does not. - 3) When using the <c> tag, the text within it ap ...Show All

©2008 Software Development Network