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

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

Swaykid

Member List

ELDHOSE_BABY_a06ce9
Dr. Pizza677
FrankBru
Emadkb
elodie23
jutsi
Hauchmahler
Hatzi74
kayers
wtrn
India_2007
jaimlin
cengizh
Alex-MyRpg
Tompom
Jamie Thomson
JDCOHEN
Alex.NP
Wilton Kwok
stevenryals
Only Title

Swaykid's Q&A profile

  • Visual Studio Express Editions clock time

    what is the best to keep track of time What I want to do is calculate time worked in the morning and in the afternoon. For example: person clocked in at 7:55am clock out for lunch at 12:10pm clock in from lunch at 1:15pm clock out for that day at 5:22pm Is there an easy way to calculated this or I am basically going to have to do all the calculation in the code thanks you can use a class called TimeSpan: http://msdn2.microsoft.com/en-us/library/system.timespan.aspx a TimeSpan calculates the duration/time interval between times. Example: DateTime d1 = DateTime.Now; DateTime d2 = DateTime.Now.AddHours(1); TimeSpan diff = d2 - d1; MessageBox.Show(diff. ...Show All

  • Visual Basic Reading/Writing INI Files

    I Add this code in a Module And i wrote this file that i called "Italian.lng": [DATA] Field1 = Speaker <DllImport("kernel32.dll", SetLastError:=True)> _ Public Function WritePrivateProfileString _ (ByVal lpApplicationName As String, _ ByVal lpKeyName As String, _ ByVal lpString As String, _ ByVal lpFileName As String) _ As Integer End Function <DllImport("kernel32.dll", SetLastError:=True)> _ Public Function GetPrivateProfileString( _ ByVal lpAppName As String, _ ByVal lpKeyName As String, _ ByVal lpDefault As String, _ ByVal lpReturnedString As StringBuilder, _ ByVal nSize As Integer, _ ByVal ...Show All

  • .NET Development *.dll.config

    I have recently run into a road-block with one of projects and I have made a post that highlights that problem under the "CLR" topic. Nevertheless, this post is to find out if I can associate a .dll.config with a class library - I know this was an issue in .NET 1.1, but never found out if it was fixed in .NET 2.0 or later. Specifically, I need to use the "probing" element to help the CLR locate some private-path assemblies. Also, if the above functionality is available, is it possible to monitor the CLR's actions at runtime to ensure that it is indeed looking at the .dll.config's "probing" element to locate the assemblies Thanks in advance, guys! I was wondering if anyone ca ...Show All

  • Visual C++ Help shake libc.lib linker error

    I'm migrating a set of Visual Studio 6.0 applications to VS 2005. I have two solutions, each containing two projects, and one of the projects is shared between each solution. (So I have a total of three projects.) One of the solutions has no problems building either in the IDE or via command line using msbuild. The other solution refuses to build because it has link error on libc.lib, but only from the command line. As I understand it, this error means something in the solution is trying to link against a library that was created with the single-threaded runtime library, which was supported in VS6 and is not in VS8. So, I opened up all three projects (in two workspaces) in VS6 and sure enough, some of them had specified the multi-t ...Show All

  • SQL Server Still Getting computername\Guest error

    Thanks for the responses but I'm still getting this error. computername\Guest. Simple Filesharing is OFF on the xp server maching. My lap, where I wrote the app i'm using that connects to the server works OK..I connect after intering the computername\sqlexpress, dbname, username and password. But on another laptop I'm still getting error that shows computername\Guest. I can't figure it out. the only difference I see in the user accounts on both laptops is that under "manage network password" mine show only one entry "passport.net" where the other laptop(where I'm having trouble connecting) show two entries 1.email account and 2 passprot.net. I'm using sqlserver and windows authentication. ...Show All

  • SQL Server BCP taking very long time.

    I have a table which has near 50million records. The .dat file created by BCP queryout is of around 51GB. I am forming the BCP queryout and BCP IN commands in a stored proc and executing the same using xp_cmdshell. I am using the below BCP options : / T / b60000000 / a16384 / w / t}@ !{ / r} ^ #{\n / h"TABLOCK" With above the QueryOut is taking around 8 hrs and BCP IN another 10 hrs. These figures are not very healthy. The database recovery mode is set as simple. Server config: Windows server 2003 X64 edition, with 16 gb RAM. Any pointers on what could be the reason for this The table structure is as below: CREATE TABLE XXX.dbo.ZZZ ( A nvarchar(50) COLLATE SQL_Latin1_General_CP1_CI_AS ,B nvarchar(15) COLLATE SQL ...Show All

  • Visual Studio Team System How to copy files to a fixed drop location

    Currently, I can successfully drop the build files in a drop location, but I've been asked to put them in a specific folder for testers as well. Currently, every copy goes in a specially named folder including the build type name, the date and a sequential #. Is there a property I can reference to find the location of the freshly built files Something along the lines of this Thanks! Mike ... </ ItemGroup > < Target Name = " CopyFilesToStageMachine " > < Message Text = " Copying files for Testers... " /> < Copy SourceFiles = " @(BinDirectory) " DestinationFolder = " \\MyTestBox\Program Files\MyCompany\ProjectX " /> </ T ...Show All

  • Internet Explorer Development IE7 Script Error

    Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control panel I don't have any problems but when I go to any other user account and do this, no matter if they are computer admins or not, they encounter an IE script error with no description and this popup does not go away whether you click yes or no. It's not just the User Accounts menu in the control panel, it's other applications too. Is there a fix for this problem or any ideas I have already disabled script debugging in IE. I also disable the alerts for script errors in IE too. [ quote user="Geo725"]Hi, This problem has always been bugging me. When I sign into my user account and open up User Accounts in control ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Got a feature suggestion for the next version XNA Game Studio Express?

    Cross posted from: http://blogs.msdn.com/xna/archive/2006/12/03/got-a-feature-suggestion-for-the-next-version-of-xna-game-studio-express.aspx We're putting the final touches on our first release of XNA Game Studio Express and our launch on December 11 th is less than three weeks away! Many of the team’s members have started to think about features that could be implemented in versions of XNA Game Studio Express down the road. While the team has ideas about things we’d like to do, we rely on you to tell us about the things you’re interested in or that you’d like us to change in future releases of the Product. The best way to share this information with us is by using Microsoft Connect . If you’re unfamiliar with Microsoft Connect, plea ...Show All

  • Visual C# How to name single class instances

    Say i have a static class DX9, that holds the DirectX Device as a public variable, how would i name it Should i name it the same as the class Another example: I have a static class Player, that holds an instance of the Character class as a public varaiable. How do I name it Hi there's no real guidelines for naming... I tend to use the most obvious name possible.. for instance, you could name your Character variable Character, so you could access your property Player.Character.. just use a name that conveys it's meaning as clearly as possible Hope this helps you out, please close the thread if it does ...Show All

  • .NET Development how do I get my result data set back from the constructor?

    Novice somewaht in OO I want to create a class that returns a typed dataset DataSetPastDue So I strat with public class PastDueTables : DataSetPastDue { //Then the constructor takes a prameter public PastDueTables( string PlantCode) { and the code starts with DataSetPastDue MyDataset = new DataSetPastDue (); and contiues to add data in the tables of the MyDataset when done I thought I could issue return MyDataset; but the compiler complains Error 1 Since 'WebServiceS5.PastDueTables.PastDueTables(string)' returns void, a return keyword must not be followed by an object expression tried this=MyDataset; it tells me that this is read only. SO how do I get my result data set back f ...Show All

  • SQL Server Reoprting Server cannot be viewed by the client machines

    I have set up a RS on my local machine and it can be viewed by the machine. However this cant be viewed by the client machines ..wonder what could be the settings that need this to work. Regards Alu Have tried both but in vain. Furthermore I found that the IIS hosted in my XP Pro machine could not be accessed from any other client machines. I am installing RS in my local XP Pro machines and i could see my Report Manager. In the first place IIS should show "Under Construction..." if access from client but it's not. How to i troubleshoot IIS .... Regards Alu ...Show All

  • Visual Studio Compile Error on machine without VS.NET 2005 installed

    Hi! We're getting the following error when compiling a simple web project using msbuild on a machine that has the .NET 2.0 framework on it but not Visual Studio.NET 2005 (machine 1). Running the build on a machine that has both the .NET 2.0 Framework and Visual Studio.NET 2005 works just fine (machine 2). We're wondering what might be different between them other than VS.NET 2005 being installed on machine 2. Does anyone happen to know if the full version of Visual Studio.NET 2005 needed to use msbuild when compiling web projects Other projects (i.e. Class Libraries) compile just fine one both machines 1 and 2. Target Build: Target http://localhost/ : C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_compiler.exe -v ...Show All

  • Windows Forms Radio Button databinding

    I have two radio buttons in one groupbox and bind to two properties of one object. The following is sample code, //TestData is class with two boolean value properties t = new TestData(); t.Itm1 = true; t.Itm2 = false; r1.DataBindings.Add(new Binding("Checked", t, "Itm1")) ; r2.DataBindings.Add(new Binding("Checked", t, "Itm2")) ; My question is when I selected r2 (r1 deselected automatically), the properties of Itm1 and Itm2 in data behind object t are both true - I hope Itm1 change to false since it's unselected! I am missing sth Thx ...Show All

  • Windows Forms need help for BindingNavigator control

    Hello can you help me to know how I can use BindingNavigator control which is in a form to update a record to database. Thank you see follow project using Bindingnavigator and updata the database http://www.codeproject.com/csharp/BindSourceBindingNavCS.asp ...Show All

©2008 Software Development Network