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

Software Development Network >> dr.acv's Q&A profile

dr.acv

Member List

Tom Richards
Ross Watson
Kevin Rodgers
SOAC
Leather
danych
Puneet Minda
Perry Choy
2162
perf101
Peregrin
Drew Marsh
Paul Sanders
IBRAHIM ERSOY
Banhnam
microsoft_programmer
Salvador Rocha
Ben Hall (UK)
Sayor
RoniBr
Only Title

dr.acv's Q&A profile

  • .NET Development MSSQL table names

    hey, i'm getting a table from my MSSQL server, but for some reason it has to have the user name preceding it. SqlCommand getOrgs = new SqlCommand("SELECT DISTINCT Organization FROM phenostream_usr.Affiliations"); why is this why can't i just say "From Affiliations" Hi, In MS SQL 2005, the phenostream_usr schema is no longer considered as a user but as a namespace within the database. More info: http://msdn2.microsoft.com/en-us/library/ms190387.aspx Charles Verdon ...Show All

  • Visual Basic Create folder with WMI

    Hi I need some help with creating a folder on a computer on the network using WMI. // Lasse Im not shure that it's that easy, the file i want to copy is not reachable from the remote computer, I want to copy it from a local path on my computer eg. "C:\FILE.TXT" to "\\RemoteComputer\FILE.TXT", I get a permission error if I just use File.Copy, is there a way to grant access for File.Copy ...Show All

  • Windows Forms Forbid user to change to another tab in a TabControl

    Hey, I'd like to forbid users to switch to other tab in a TabControl, while allowing them to interact with the controls in the selected one. Setting TabControl.Enabled to false is not going to work, as the whole container and its children will be all disabled, as well. Is there any way to do this Thanks, Claudio Yes, you can draw your own tab captions. Check this thread for code. ...Show All

  • SQL Server Please Help

    New Subscription Log In Name: Password: Log In Name: Password: We changed the password for our execution account. Now when I click on a report I am prompted to enter a user name password for each datasource. I do that then I get to my normal starting spot. I have to enter server database parms for my report and when I do that I get an error that says An error has occurred during report processing. (rsProcessingAborted) Cannot create a connection to data source 'Data ...Show All

  • Smart Device Development PPC Outlook - checking whether an email has been sent successfully

    Hi, Is there anyway to check  via code whether an email has been sent successfully I am sending an email via the following code: EmailMessage email = new EmailMessage (); email.Attachments.Add( new Attachment (_AttachmentPath)); email.To.Add( new Recipient (_Recipient)); email.Subject = "blah" email.BodyText = "blah"; // Send the message over the first email account available. email.Send(os.EmailAccounts[0]); thanks. This forum is intended to deal with issues directly related to the .NET Compact Framework. It appears that this question can better be answered by someone on one of the newsgroups for Windows Mobile or Windows CE. In order to get a qu ...Show All

  • Visual C# Regain/EndRegain

    Sometimes I see some coeds that starts with #regain with some other codes in it and ends with #endregain... what is this for and what does it mean I have a c# book its there.. but cant find were it explains it. Also what good is it for thats right. it gets ignored by the compiler. It's only for our benefit really, and is very useful especially if developing large bits of code and organsing your code and making it easier to go to a specific section ...Show All

  • Windows Forms Is there an easy way to return the Number of records retrieved by a stored procedure?

    I am creating some reports that involve, potentially, a large number of records. I am retrieving the records using a stored procedure. which works fine, as it is. I would like to give feedback to the user to let them know something is happening while the records are being retrieved and loaded into the report. The only answer I have found so far, searching these forums, is to retrieve the data with a data reader and count the number of records! I know there must be an easier way, because when I execute the stored procedure to test it out, The output panel displays the number of records Retrieved! The datareader has a property which shows the number of records affected, but I can't find one for the number of records returned. Ha ...Show All

  • Visual FoxPro Will VFP6 work with Windows Vista

    My company operates a series of VFP6 runtime databases successfully in the Windows XP environment. We currenly have one PC loaded with Windows Vista. When the runtime setup is run it does not install the runtime files onto the Vista PC. Can VFP6 work in the Windows Vista environment How can this problem be overcome Many thanks in anticipation. Yes CDFAUX but besides UAC and running as Admin (generally not a good idea), some other things have changed, like the placement of My Documents and personal files, temp files, etc.   ...Show All

  • Visual C++ trying to use localtime.....

    Hello...I'm trying to have it display the local time of the users location.....It's weird that TickCount is in Environment:: .. but LocalTime is not. How do you get it to get the local time ! Thanks. GetLocalTime returns a void you cannot initialize a string with that and you cannot pass an unintialized pointer to GetLocalTime - well you can, but... Use this instead: SYSTEMTIME st; GetLocalTime(&st); System::String^ s = System::String::Format( "{0}.{1}.{2} {3}:{4}:{5}" ,st.wDay, st.wMonth, st.wYear, st.wHour, st.wMinute, st.wSecond); System::Console::WriteLine(s); -- SvenC ...Show All

  • Visual Studio Express Editions opening a notepad file from my form

    i want to open a notepad file from my form when i click a button for example, how do i do this thx in advance thx System.Diagnostics. ProcessStartInfo startInfo = new ProcessStartInfo ( "notepad.exe" ); -> should be: System.Diagnostics. ProcessStartInfo startInfo = new System.Diagnostics. ProcessStartInfo ( "notepad.exe" ); but i just made a using.system.diagnostics; above in my code :) so it wasnt a problem ...Show All

  • SQL Server SQL Server 2005 "Login failed for user" sa

    I have not been able to install SQL Express SP2 (standard or advanced) on Vista Ultimate (RTM). Every time I try to install, I get the following error message: SQL Server Setup could not connect to the database service for server configuration. The error was: [Microsoft][SQL Native Client][SQL Server]Login failed for user 'sa'. Refer to server error logs and setup logs for more information. When I check the logs, the only information I can find that is at all useful is: Doing Action: Do_sqlScript PerfTime Start: Do_sqlScript : Thu Mar 01 21:35:42 2007 Service MSSQL$SQLEXPRESS with parameters '-m SqlSetup -Q -qSQL_Latin1_General_CP1_CI_AS -T4022 -T3659 -T3610 -T4010' is being started at Thu Mar 01 21:35:42 2007 SQL service MSSQL$SQ ...Show All

  • Software Development for Windows Vista Add custom activities to toolbox during installation

    Hi, i've created a couple of custom activities (telecom specific, for making VoIP calls ans similiar). What i am trying to do is to insert this activities into the toolbox (into a new tab) during installation, without any luck for now. I've tried the same approach as for adding custom user controls into the toolbox, but it seems it doesn't work (i am using the DTE namespace). I hope somebody will be able to give me some usefull instructions on how to achieve that. Tnx for the help ! D Hi David, Once you compile these activities, double-click on the <workflow>.cs file. The activities should automayically appear at the top of the toolbox. Laurence ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Custom vertex format

    I am writing a pixelshader for terrain coloring and I am selecting my coor based on a number of different parameters, such a normal vector, 3d position and up to four noise functions, which define things as humidity, terrain type etc. The terrain is one huge mesh, optimized as a ROAM, and each vertex has the properties mentioned above. There are formsts for storing normal, position, color or some other combination, but there are not enough for my need. I remember reading somewhere about defining your own format, but I can not find it again and the last time i tried, it didnt work. Can someone suggest where I should read about this An extra question is... the position is never interpolated (before being passed to the pixelshader ...Show All

  • Visual Studio Express Editions Smart tag issue

    Hello I am trying to build a simple app using VB Express and have come across a strange snag. I have just bound a colum to a combobox using the smart tag, now nothing in the app wants to work. For example all of the buttons have stoped working and even stranger the close form (red X) does not function. It seems that the entire app is non responsive (although the combo box is finally working correctly), any one have any ideas on this issue Thanks ...Show All

  • Visual Studio Team System Is there any place where I should set the roles of the users?

    Hi Is there any place where I should set the roles of the users in the project A place where to set: Jhon is architect, Miriam is developer, etc. Thanks Javier There isn't a way to directly map users to roles in TFS. However, depending on what you're trying to do, there are some options for you. For example, if you want roles to define access permissions, you can define security groups (either as Windows groups or TFS security groups) for these roles and assign users to those groups. Let me know if that covers what you were looking for, or if not, please elaborate on your need. thanks! ...Show All

©2008 Software Development Network