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

Software Development Network >> Azriel Cross's Q&A profile

Azriel Cross

Member List

Kevin Dente
ardmark
MacedonHacker
Will Riley
uncle hammy
AaronJ
JSanders
RickKr
albidochon
justinmagaram
karande23
Arthlan
jongas
Son_seph14
erinselena
Insignia
Lejing
curtKauf
AGPX
el_d
Only Title

Azriel Cross's Q&A profile

  • Visual Studio Team System Test Results Grids

    I noticed in the test results grid if you right click and click add/remove columns there is a way to add fields for standard error and standard out. I was wondering what I would need to do to output results to these fields. Thank you very much. ~Todd I tried in a Unit test and not a coded web test. Probably some difference in the execution and weather or not the engine re-directs those streams. I will have to check on that. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Some Halo-like video clip I found...

    I was a heavy critic of managed games and performance but I'm finding less to argue about these days and finally made the switch. This is not mine but it's a video clip of one of Halo's multiplayer maps that I found on YouTube. The textures are a bit blurry but I doubt the art is the concern right now. It just proves Halo is within reach with C# :) I think that is quite awesome and worth sharing. Enjoy... http://youtube.com/watch v=PjAyMZkMckA I probably shouldn't be double-posting, but, new video: http://youtube.com/watch v=7cBaTcd3BkA EDIT: By the way, you may want to turn your speakers up for that one, the sounds are fairly quiet. ...Show All

  • .NET Development Problem with SQL Server 2005 and IIS 6.0

    Hello, I am having problems with my system configuration. I am trying to access a SQL Server 2005 database from a C# .NET web page, but I keep getting this error, " Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'". I am using windows authentication. The SQL Server resides on one server and my web server is on a different server. If I run the both the web server and SQL Database from within the same server it works fine, the problem comes when I separate the servers. I am running Windows Server 2003 on both servers, MS SQL Server 2005, MS Visual Studios 2005, and IIS 6.0. Here is my Web.Config file: < xml version = " 1.0 " > < configuration xmlns = " http://schemas.microsoft.com ...Show All

  • Visual Basic counting digits in an integer

    I need to count the number of digits in an integer input by the user. In other words if the user enters 101010, I need to obtain the value of 6, because there are 6 digits in this number. Can someone help me I'd wrap the function up in a method and place in a class library so you can easily reuse this in your applications. The only reason I suggest wrapping it up in a function is that I figure you will probably reuse this function. Also the input parameter is a integer and the return value is an integer also. You can change the input to string and remove the .tostring call Function DigitCount(byval int_Value as integer) as integer if int_Value.tostring.length > 0 then Return int_Value.tos ...Show All

  • Visual Studio 2008 (Pre-release) DataContract versus Serializable

    Okay, I LIKE and PREFER Data Contracts versus Serializable. I have built and tested many scenarios and the tests work great and I like the level of control. Now I am looking at converting some existing functionality and am also looking at 'backwards' compatibility and the question I am going to ask does not seem to be clearly answered (at least where I looked). If I use the DataContract to establish serialization, what happens with non-WCF access to the class. Are classes marked with DataContract also Serializable I also noticed that DataContracts support .NET 2.0 featues like nullable types. If I add nullable types and they serialize fine for WCF - again - what happens with the class when it passed to non-WCF membrs that require ...Show All

  • SQL Server Single Select Parameter Width Problem in Reporting Services

    Hi I have a report which has 2 parameters 1.Type(Single select)- (Values- Customer,Country) 2.Code(single Selecte)- (If Customer is selected in Type above i display Customer Name/If Country is selected i display Country Name). The problem which i am facing is i have a customer Name which is 199 characters. When i run the report i can see that the Code dropdown expands horizontally to accomodate the text below and it screws up the report screen.The customer Name is - 1234567891123456789112345678911234567891123456789112345678911234567891123456789112345678911234567891ABCDEFGHIJKLMNOPQRSTUVWXYZ ! @#$ABCDEFGHIJKLMNOPQRSTUVWXYZ ! @#$ABCDEFGHIJKLMNOPQRSTUVWXYZ ! @#$123456789 Is there any way to fix this Any help will be apprecia ...Show All

  • SQL Server Using stored procedure as OLE DB source with parameters from package variables

    Hi Guys, (I have searched this forum extensively, but still can't find the solution to this problem) Here it is: I have step in my ETL process that gets facts from another database. Here is how I set it up: 1) I have to package variables called User::startDate and User::endDate of data type datetime 2) Two separate Execute SQL Tasks populate those variables with appropriate dates (this works fine) 3) Then I have a Data Flow Task with OLE DB source that uses a call to a sproc of the form "exec ETL_GetMyData @startDate = , @endDate = " with parameters mapped accordingly (0 -> User::startDate, 1 -> User::endDate) When I run this I get an error 0xC0207014: "The SQL command requires a parameter nam ...Show All

  • Visual Basic Combobox

    Hello. A question please. At the design time, how can I assign a value to each elements of my combobox Thanks... Dim a(2, 1) As String a(0, 0) = "Red" : a(0, 1) = "R" a(1, 0) = "Green" : a(1, 1) = "G" a(2, 0) = "Blue" : a(2, 1) = "B" ...Show All

  • Visual C# where are my Settings?

    Hi! I'm using the Settings.settings to store application parameters, but ... where is this data When i using 'Properties.Settings.Default' i can get and/or set all variables but... when i change the application name or path , the data are lost. What file must i distribute with the exe file where i can find it where i must put it Regards. The [applicationName].exe.config in your [projectName]\bin\debug directory will contain the default values. So I guess that's the file you're looking for. I belive it's xml, so you can open and check that it contains the values you want. However, if you change values at runtime, two files may be created depending which kind of value you're changing (user or application). The files may be someth ...Show All

  • Visual C# removing program from startup

    how can I remove programs from my startup menu I don't want them to run when i start windows. "that would remove all items from the startup list...which is not what you want and may have some consiquences. You should look for the specific item you are after and remove it otherwise the user won't be happy in the removement of the startup items" See: "how can I remove programs from my startup menu I don't want them to run when i start windows" This is what he wants, He wants to remove all programs from the Windows Startup. Note: I'would like to tell you that under CurrentUser only the settings of currently logged user is stored. If you want to delete p ...Show All

  • Windows Forms dataset question

    Hi, I have been programming VB for a while now and lately I decided to give C# a try. Currently I am wrestling with Datasets and I need to know how to access a particular cell in a Dataset using C#. In VB I would do this: DSData.Tables(0).Rows(i).Item(j) but C# doesn't have the .Item for the Datarow. How do I do this in C# Thanx it should be: DSData.Tables[0].Rows[ i ].ItemArray[j] or even better: DSData.Tables[0].Rows[ i ][j] of course there is no space between the i - its just for the forum editor to prevent it from displaying an emoticon does this help ...Show All

  • Windows Forms drawing lines between controls

    Hi, My problem is,I am placing a usercontrol and on that again I am placing a another small usercontrol on the design surface this is A likewise there is another usercontrol of the sametype placed one above the other let it be B, now my requirement is I have to draw a line connecting the inner usercontrol of A with the inner usercontrol of B . Since there is no line control in C#.net if I use drawline() I am not able to connect these 2 usercontrols. Can anybody tell me a solution for it . Nithya Priya, In between the two controls,place a label of very small thickness and extend it to the width of the controls.Give it the background color of your choice.The choice of label is because label isnt focused when the user tabs aro ...Show All

  • Visual Studio Breakpoint will not currently be hit. No symbols loaded for this document.

    I have been 'developing' with Visual Studio 2005 for about 3 weeks now - primarily .NET class libraries developed with VB. I am coming from VB6, although I did a lot of development with Visual C++ several years ago, so I am still trying to come to terms with the debugger. I have read many threads posted by people who are having a problem with breakpoints, specifically with the message in the subject line above. There have been many suggestions on how to fix this problem. Sometimes these suggestions work, sometimes they do not. Most of the suggestions involve deleting DLL and PDB files and rebuilding, or restarting Visual Studio. None of them suggest any problem with something the developer has done or any problem with the configuration of ...Show All

  • Windows Forms Very Dangerous message

    Dear all After I finished my Financial project by using VB2005.net and SQL SERVER 2005 and made publish for this project ,After that I Installed this project on my computer and when I open some reports from this project appeared this message below "Financial Project has encountered a problem and needs to close. we are sorry for the inconvenience If you were in the middle of smothing, the information you were working on might be lost " This message appeared alone in reports viewer and in this case I need to close the program How I can solve this problem I wrote this code on the places that i expect the error occure but the project work without any error inside the VB2005.net environement ...Show All

  • .NET Development reflecting changes of DataTable to Database

    Hi All, Ive spent days breaking my head over why the code below doesnt update changes to the database. Could someone please help... [CODE] OleDbDataAdapter adp = new OleDbDataAdapter("select * from TestTable", connection ); adp.InsertCommand = new OleDbCommandBuilder(adp).GetInsertCommand(); DataTable dt_dst = new DataTable("TestTable"); adp.Fill(dt_dst); DataRow rw = dt_dst.NewRow(); rw["ID"] =123; rw["CAT_ID"] = "adadas"; dt_dst.Rows.Add(rw); dt_dst.AcceptChanges(); adp.Update(dt_dst); [/CODE] Good God you're a genius! Do we use accept changes only when we change something in an exhisting row Thanks, ...Show All

©2008 Software Development Network