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

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

eTape

Member List

AndyKr
&#169&#59; Ţĩмό Şąļσмāĸ
Blkbird
Adam Lofts
Gurpreet Singh Gill
Dreedle
ParkerJ21
sunrunner
errolian
SatishThumar
MingMa
adamb99
Brandon Bloom
Kirill Osenkov - MSFT
ONeill
ShadowRayz
Skapol
tranders
xcox
rebeccat
Only Title

eTape's Q&A profile

  • .NET Development C# 2005 Web Service question

    Hello everyone, I'm fairly new to C# and I have a question about return types. Specifically, I have a web method returning a dataset, but I need to return an error message if there is one. How is this done in C# Thanks! Robert Lewis >> Give the method an "out" parameter, being a string to indicate an error message and return null if there is an error and set the "out" parameter to the error message you want. << Does an out parameter work on a web service Since the parameters & response are being marshalled through HTTP, I'd figure each would only go one way. >> Alternatively you could make a global variable in the webservice which you can access di ...Show All

  • Visual C# Help me.....i have an array of integers......and want to..have four integer at one position in array

    hi... plz help me .... i have an array of integer....... eg int [] array ="23,35,521,615" in the above array at every position an integer is stored.......as u see..... now i want another array......of integers....and want to have like this int[] array2[0] = "2335" ,,array[1] = "521615" means two integers at same position in an new array..... why don't you just create a new array and store it down like below: int[] array2=new int[array.length/2]; for (int a=0;a<array2.length;a++) array2 =Convert.toInt32(array[a*2].toString()+array[(a*2)+1].toString()); ...Show All

  • Visual C# Converting System.Type to OleDbType

    I can`t find class and methods that convert System.Type to any of dbtypes(OleDbType or SQLType). I know for the mapping tables, but I need conversion methods for all data providers(OleDb, SqlClient, ODBC) . It is not difficult to write that by your own, but I can`t belive that it is not alredy written by Microsoft. Exactly! That`s it, that is one solution. Just, I wanted to make software component that could be used in any situation, independent of the database (I just create dataset through the wizard, and then use one generic tableadapter that works with all datatables in dataset. Adapter creates statements dynamically based on datatable). That means avoiding stored procedures and implementing update, ...Show All

  • Visual Studio Express Editions Help with a save dialog?

    hey guys I have a save button on my menu bar and i run the program and click the save button it brings up the normal save dialog like always but will not save it for some reason can someone help me All I've done is created the savedialog and scripted the showdialog inside the menustrip. Please help Kind of but it still doesn't work. Sorry I'm new to ALL of this. But what I am trying to do is I have text boxes that the user can write in and i want them to be able to save them and pull them back up at a later time in the same program. But this actually made it save so thanks now I just need to figure out how to get it to open again. thanks a lot! ...Show All

  • Visual Studio Debug a DLL used by two programs

    I hope this is the correct forum. I have two program that use the same DLL. I want to launch both program and debug one of the programs as it uses this DLL. I want a single copy of the DLL in memory so that when I debug into the DLL I can see the footprints both program left behind. How do I setup Visual Studio 2005 to do this Jeff Stout When a program loads a DLL, that executable is mapped to that program's process space. Another process that uses the same DLL will map the code into it's OWN process space. The OS makes sure there's only one copy of it actually loaded into memory, but as far as the programs' are concerned, they each think they are the only user of it. If you can provide mo ...Show All

  • Software Development for Windows Vista Where to start ....

    Hi all, I'm realy new to Windows Workflow Foundation (just browsing a bit here and there) but it seams quite interesting and could be what I always looked for for modeling the kind of applications I'm responsable for...... Now here is the question: Where do I start where can I find in depth technical information Is there some kind of user guide I could read Thanks for the feedback Ciao Hi Welcome to the WF community! I would suggest starting with the SDK samples. These are part of the Windows SDK install: http://www.microsoft.com/downloads/details.aspx FamilyId=117ECFD3-98AD-4D67-87D2-E95A8407FA86&displaylang=en Another resource is our community site: http:// ...Show All

  • SQL Server Access protection on deployed SQL Server

    How can we control the accesses to a SQL Server that has been deployed on customer site Basically, we do not want user to log in the database server, even as sa, except through our application. Any recommendation Thanks, Xiaodoudou In your case, I assume you have no control over the customer site - if that's the case, then you cannot enforce access only through your application. Thanks Laurentiu ...Show All

  • Software Development for Windows Vista How do I get a list of installed security updates?

    I am having trouble getting a list of installed security updates on my Vista Beta 2 machine. On Windows XP I just enumerated the uninstall key to get a list of Installed Applications and worked out which ones were security updates. On Vista the updates dont seem to be listed under the uninstall key any more, I guess they have been relocated. Any ideas how I can get a list of installed updates programatically I am using C++ Visual Studio 6. Cheers, Andrew Not sure if this will work for you (it worked for me for WinXP): http://technet2.microsoft.com/WindowsServer/en/library/40b66a21-ffa1-4c88-9106-2c08a393c71d1033.mspx mfr=true ...Show All

  • Visual Studio Team System Configuring Alerts

    Hi, How to configure Email alerts for Test results (Unit test failure /Pass/ Incomplete code coverage) and Code analysis failure for a Team project in Team Foundation Server Thanks in advance..... Ok,i got it. But if i am not wrong, i think there is no event like unit test failure or code analysis failure.In that case then how to configure alerts for unit test failure/code analysis failure -Nonu ...Show All

  • Visual C++ Help me to write a C++ program

    Hi, I am new to C++ program, Pls help me for following probelm. I have a text file as following, DYNAMIC ANALYSIS 次元 部加振 活荷重 3 1 0 0 KACC KDIS KSTS KSTN KSSR KJOT KNOD KRAT KSEC KMSS KWPR 7 7 14 14 0 14 1 0 0 1 0 FREQ GFREQ EXMAX 0.0 2.00 1.0D-6 VISCOUS BOUNDARY INFORMATION 3 2.00 77 60 11 66 0 0 加速度時刻 出力節 番 (KACC=0.OR.>NTJ 場合,削除) 1080 1254 1484 1549 1563 1592 1608 JOINT 動出力要素番 (KJOT=0.OR.>JOINT 場合,削除) 7 8 20 22 117 118 127 128 129 130 133 134 139 140 NODES 1 -101.582 -234.742 280.000 3 2 -76.838 -234.742 280.000 3 3 -54.479 -234.742 280.000 3 4 -34.276 -234.742 280.000 3 5 -16.020 -234.742 280.000 3 6 0.476 -234.742 280.000 3 7 19.06 ...Show All

  • Visual Studio Express Editions Qns on SQL 2005 EE, use with C# 2005 EE.

    Hi, got qns here regarding SQL database. Can my program with SQL database run correctly on another com using win xp home edition, with only C# 2005 EE installed Is it compulsory for every table in a database to have a primary key Can I extract a data from a specific cell in a database table(click button get data) How do I go about doing it (the simplest n straight forward method) Many Thanks in advance. That means reader[0] will read the first column in my table starting from the first row, right For example, my "Time" column is the second column in the table. That means if I put reader[1] it will read the second column which is the "Time" column But I thought the query string tells th ...Show All

  • SQL Server programmatically setting package variables in job step command line

    We are trying to start a server job running an SSIS package and supply some parameters to the package when we start the job using SMO. What we have now is this: string cmdLine = job.JobSteps[0].Command; cmdLine += @" /SET \Package\GetGroupRatingYear_Id.Variables[User::RatingId].Value;1"; cmdLine += @" /SET \Package\GetGroupRatingYear_Id.Variables[User::GroupId].Value;1"; cmdLine += " /SET \\Package.Variables[User::period].Value;\"" + periodEndDate + "\""; job.JobSteps[0].Command = cmdLine; job.Start(); It appears that when the job is run, the modified command line is not used. What is needed to supply runtime parameters to a job step when starting the job via SMO Thanks, So managing a job in this way seems a bit of a pain. Why not l ...Show All

  • .NET Development using with try-catch or try-catch-finally ?

    What do you use using statetment or try-finallly With the using statement... what is the best way to catch a exception Now, i'm using a try-catch-finally for the connection and using for the commands, dataadapters, datareaders ... etc.., but i don't know if is the best way. Regards. Some question more .... For example: using (OracleConnection oc = new OracleConnection(myConnectionString)) { // Do stuff here ... } This estructure ... will close besides dispose the connection Regards. ...Show All

  • Visual C# Losing value after calling method for use with another

    I am trying to figure out why JAAAlbum.ProductID is null when passed to my AddNewProductRelationship_Album_Track method in my loop http: / / www. webfound. net/ forum_ posts/ addproduct. txt Basicaly what's happening is the AddNewProduct is called for the album and JAAlbum product is created then values are saved to the database with the following lines: JAAlbum.Save(1, TransactionAbstraction.GetTransaction()) ; TransactionAbstraction.CommitTransaction (); That's all fine and dandy but the problem is when it hits the if statement again, it then goes to add the track: AddNewProduct(xl, row, host, fileExtWAV, "Track", filePathSourceWAV, fileName, moveFile, sstore); Problem is line 131. I get an error saying JAAlbum.Produ ...Show All

  • Visual Studio 2008 (Pre-release) Listbox - Center item

    Hi I'm trying to create an album-viewer of all my music albums. To this I'm using a ListBox with Orientation ="Horizontal" - this is all fine, and I can see my albums. But my issue is, that I want to center the item I just pressed. How can I do that Is there an alternative to ListBox which is better to use for this purpose I'm not clear on what you're trying to do. When you say that the ListBox's Orientation="Horizontal" do you mean that its ItemsPanel's Orientation is Horizontal What do you mean by saying that the selected item should be "centered" Centered vertically Horizontally ...Show All

©2008 Software Development Network