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

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

icelava

Member List

Softwhere
Mohamed Anas
motioneye
Lars Brange
Bluehunter
RankoNS
CSharpShooter
T. RUIZ
Jeff Irish
Tej62007
erbenji
leoku
Shane Lile [MSFT]
Allen Razdow
Robby-TT
anubisascends
Rafael Mores
fscarpa58
DavidThi808
Visual C# Novice
Only Title

icelava's Q&A profile

  • .NET Development Trying to get a simple .Open() to work

    This is a newbie question, sorry if it's been answered a million times before. I have googled this extensively and haven't found anything that is making ANY difference, and have already spent 3 solid days trying everything under the sun. I am using MS Visual C# 2005 and SQL 2005 Mobile. Both running on local PC. I am running as administrator on this machine. All protocols enabled in SQL services, also under SQL Native client configuration. I am able to use the wizards in MS VC# to access the SQL database and create datasets, they are able to access the SQL server. Under Surface Area config, Local and Remote connections is checked, using both TCP/IP & Named Pipes. The SQL database is set to 'Log on as built in account - local system'. ...Show All

  • Visual Studio VSS 2005 -- Same source control you get with VSTS?

    I'm very unclear about the difference between VSS2005 and the Source Control included with Visual Studio Team Foundation Server. Questions: Is the price for VSS2005 per seat (CAL) or something else The docs for VSS2005 indicate that it supports remote access over http. So would I be buying a server or a client Is this the same source control that ships with VS TFS or is it something different For my client TFS is total overkill for a team of three developers. Thier developers do work from home so remote access (not over a VPN) is an important requirement. Thanks!! Have you seen this article Choosing Between Microsoft Visual Studio Team System and Microsoft Visual SourceSafe ...Show All

  • Community Chat Firefox 2

    Yay! firefox 2 is being released at 8pm today!! Hooray! just thought i would let you know... That's an interesting observation. Most websites are designed to be IE compatible. It's not a great situation for 3rd party browser vendors, who might have functionality that would make a richer experience. I think in terms of User interface, and in my opinion, IE7 and Firefox are pretty much on par. If this is truly the case, you wonder why people should want to have two different kinds of browsers installed on their Windows box. ...Show All

  • Windows Forms Change file ownership of an output file.

    My program generate a data file, (e.g .txt) What I want to do is RIGHT AFTER the file is generated, it will 1) change the file ownership to an admin account ( i have the admin username and password) 2) change the permission to readonly for everyone(domain user). This ways, I am sure the data file is safe and the data is correct. Thanks, Terrence I want to take the owner as well. So I do this. fSecurity.SetOwner( new NTAccount ( "domainName\\admin" )); However, I got this error message. "The security identifier is not allowed to be the owner of this object" Thanks. ...Show All

  • SQL Server Null / Nothing

    I want to place Null / Nothing to Summa.Value...Now I have a textbox (Textbox1) which put a value to Summa.Value....How do I do that The vb code I have now: Dim Summa As New SqlParameter(" @Summa", SqlDbType.Int) Summa.Value = Textbox1.Text Command.Parameters.Add(Summa) I tried to do like this, but I didnt get it to work... Dim Summa As New SqlParameter(" @Summa", SqlDbType.Int) Summa.Value = Null Command.Parameters.Add(Summa) This should then be inserted to a sql-server database... I was searching for "System.Threading.ThreadAbortException: Thread was being aborted." at google and I found the following link: http://www.experts-exchange.com/Web/Q_21300648.html   ...Show All

  • .NET Development file or folder access permission

    i want to programmaticaly allow or deny access to a spicific path or file, so when user try to open it he/she got an access deny confirmation so what can i do thanks, See this other post with excellent information on this matter. ...Show All

  • SQL Server cells not diplaying

    I have 2 dimensions dimA and dimB. Dim A has members Aa and Ab while dimB has members Ba, Bb and Bc. The fact table has columns dimAKey, DimBkey, CountofX. I need to display a result that shows counts for all members for dimA (whether there is a value in CountofX or not) but for dimB I only want to see the members that have values. eg. DimA DimB CountofX ---------------------------- Aa Ba 3 Aa Bb 4 Aa Bc 2 Ab Ba 7 Ab <blank> <blank> Ab Bc 3 Can someone help me Thanks I could not get the result of Ac        All            <blank> ...Show All

  • Visual C++ Bug in _AfxAbbreviateName() ???

    In _AfxAbbreviateName(), the code does: lpszBase = lpszCanon; cchFullPath = lstrlen(lpszCanon); cchFileName = AfxGetFileName(lpszCanon, NULL, 0) - 1; lpszFileName = lpszBase + (cchFullPath-cchFileName); Which in the case where there is no directory component, results in lpszFilename being lpszCanon. Then, eventually, in the case that the name was too long to fit and bAtLeastName was set, it does: Checked::tcscpy_s(lpszCanon, cchFullPath, lpszFileName); Which is of course doesn't fit because cchFullPath doesn't include the character for the null terminator. Can anyone else confirm my reading of this code Am I missing something or is the a genuine bug Thanks, Joseph Agreed, that should be ...Show All

  • SQL Server Selective filtering of rows

    Hi. I am using Visual Studio 2005 professional and SQL Server 2005 Express Edition. I am having a bit of an issue at the moment with my project. I have a large SQL server database (over 600,000 rows of data decoded from a text datafile and stored by my C# program) where I need to select a series of distinct rows. I have a datacolumn of varchar(10) called UID which is assigned to every row in my database. It's not a unique code so it can happen several times. By selecting a specific UID code, I can narrow down my selection to a specific range of rows (which are incremental in order). This range will contain many names. What I want to do is find a UID which will have one of two names. I have so far done this: SELECT DISTINC ...Show All

  • Windows Forms Handle a textbox outside the form

    Hi all, I'm new in C# and I'm still learning basic function. I'm sure this one is very simple but I can't find any help. I want to change the value of a textbox from a public class that is outside the form that contains the textbox. So, I cannot use this.textbox.text = ... I try to declare the textbox as a static variable like static System .Windows.Forms.Control Status = System .Windows .Forms .Form.ActiveForm.Controls[12]; but it is not working, Anybody has a idea Thanks in advance! Bertrand Add a public function to your form class that accepts a string parameter. Call it, let's say, SetMyTextBoxContents. The function is a member of the form and the textbox control is a member of the form, so the functi ...Show All

  • Audio and Video Development Any method for MF PVP application fail gracefully if video driver is not PVP signed?

    I am working on an application that runs protected playback with Media Foundation. I've encountered a problem that with some graphics cards, an error dialog box pops up from another process saying " Bad Image: X is either not designed to run on Windows or it contains an error". After repeatedly pressing OK for the same dialog poping up many times, I can see the application hits a debug assertion saying that  ESP is not properly restored. I've read about the following previous thread in this forum and know that this symptom happens because video driver is unsigned and mfpmp.exe failed. "MF_ProtectedPlayback Sample doesn't work for Video on Vista Beta 2: Thread Start ...Show All

  • Windows Forms Shared Dataset

    Hi Friends. I’m Braziliam Develop and I'm New in Windows Form Program. My Question: I Have in FLogin a Dataset with name DsDbVendas and I need view the same dataset in FDLogin but I Don’t Know How I resolve this Big Problem. Sorry for my Bad English ! :( Sds, Marcos Nogueira ''' <summary> ''' As seen above in c# code, you can have a shared(static) dataset, ''' that you reference by class.variablename ''' If you programming this way, ''' then one good place to have you shared ds is in your main menu, ''' notice that each time all forms that will refer to ''' one same table will display the same values, and this is refreshed ''' in all forms on updates/inserts/delete., ''' usi ...Show All

  • SQL Server Problems with email alerts

    Hi, I hope I am posting this in the correct forum. I want to have emails sent to me when ever there is a declined login. I have set this up but it is not working. I will go through the procedure I used, and please tell me what I am missing. I am using SQL Server 2005. First, under Management --> Database Mail in the object explorer, I run the Database Mail Configuration Wizard. I gave the account a name, an email address, a reply address, a server name (I used the IP address) and port number 25. Second, under Management --> Database Mail in the object explorer, I selected Send Test Email. I choose the profile I just created, my own email address in the To section and left the Subject and Body sections as the default. This em ...Show All

  • Visual Basic Coerce a byte string to a structure?

    I have a file that contains a series of packets. I've created a set of structures that map the elements of the packets. My question... Is there a technique in VB to map the string of bytes read from the file to the structures In 'C' this would be simple. In VB.NET I don't know. Suggestions are appreciated. Thanks, Johnny Thanks for the feedback S_DS. Here's some pseudocode of the sort of structure I'm dealing with... structure st_mainPacket dim sliceSize as unsigned int dim cntRecoveryFiles as unsigned int dim aIDRecovery[] as unsigned int 'array size is multiple of cntRecoveryFiles dim aIDNonRecovery[] as unsigned int end structure I can use bitconvert to retrieve the values, but the overhead is goi ...Show All

  • Visual C# Custom Performance Counters WMI

    I need to remotely access the values for custom performance counters. I can access them locally using System.Diagnostics.PerformaceCounter library, but I need to use WMI for remote machines, since they do not necessarily use the same domain. I can access the normal Performace counters using the WMI objects like: System.Management.ManagementScope() and ManagementObjectSearcher.Get() using an object query like Select * FROM Win32_PerfRawData_PerfOS_Processor How do I access the custom counters All I need to access them from PerfMon is their path : \\ComputerName\Communications_KernelCounters\ TIA FH I can access the "normal" counters no problem, ...Show All

©2008 Software Development Network