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

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

Kenster

Member List

leodippolito
pjdeets2
Glint
noNchaoTic
Jamie Thomson
Jonathan Brown
CodeJingle
Harryc#site
dreameR.78
Smileenergy
laja
vkv
pavel989
Perke
shahram11
marco.ragogna
neto
Knvb1123
ukgam3r
John Padilla
Only Title

Kenster's Q&A profile

  • Visual C++ Problems Converting from Studio 2003

    Hi folks, I just finished installing C++ Studio 2005 and converted a project I was working on in my 2003 environment. The conversion went smoothly, but when I try to compile the project (WinForm app), the compiler is generating errors for all of my event handlers. Here's an example: 1>c:\documents and settings\zero\my documents\my visual projects\logcopy\Log.h(159) : error C3867: 'LogCopy::Log::buttonClose_Click': function call missing argument list; use '&LogCopy::Log::buttonClose_Click' to create a pointer to member 1>c:\documents and settings\zero\my documents\my visual projects\logcopy\Log.h(159) : error C3350: 'System::EventHandler' : a delegate constructor expects 2 argument(s) The line of code causing these two ...Show All

  • Visual Studio Express Editions SQL database connection

    I've just downloaded VB 2005 Express and SQL server 2005 express. Built SQL database and trying to connect and open DB.I was trying different connection strings, OLEDB and SQL connections,reinstall Sql server and VB, but have the same massage:"Cannot open database.Login failed". When I bind DB in application, everithing is OK.First guess that something is missing in the code.But maybe Express Edition is not capable to deal with SQL DB Public p_conFirst As New SqlConnection() p_conFirst.ConnectionString = "Server=bk\;SQLEXPXESS;Database=First;Trusted_Connection=True;" p_conFirst.Open() 'error 4060 Maybe somebody has answer Thanks,Boris The Expre ...Show All

  • Visual Studio Express Editions Simple client and server applications

    how do i make server and client (but very basic, just to transmit a string would do). I've been programming in VB.NET for a year so im good, but not great. sorry about that, i meant to ask : client sends a string from a textbox to a server, THEN the server sends the string to another client. ...Show All

  • Visual Studio Express Editions Dynamically adding RadioButton controls to windows forms: Can only get one radiobutton to appear

    I'm trying to dynamically add some controls to a panel on a windows form, including 5 radiobutton controls (to function as a group). The code i'm using to create and add the radio buttons is shown below: 'First i declare a new panel which the radiobuttons will be added to Dim NewPanel As New Panel 'next i declare an array to hold my radiobuttons and a counter Dim NewRadioButton(5) As RadioButton Dim j As Integer 'next i make the radiobuttons For j = 0 To 5 NewRadioButton(j) = New RadioButton NewRadioButton(j).Visible = True NewRadioButton(j).Name = "Radiobutton" + j.ToString If j < 5 Then NewRadioButton(j).Text = j.ToString ElseIf j = 5 Then ...Show All

  • SQL Server transform Active X script to what?

    HI I'm totally new to integration services, I was savy with DTS but now having been told to get on with it in SQL 2005 I'm a bit stuck. I've got an ActiveX task which basically does the following:- Function Main() DTSDestination("Title") = DTSSource("Title") DTSDestination("Surname") = DTSSource("LastName") DTSDestination("FirstName") = DTSSource("FirstName") DTSDestination("OtherNames") = DTSSource("PersonCode") IF (IsNull( DTSSource("LastName") ) ) and (IsNull( DTSSource("FirstName") ) ) THEN IF Not (IsNull( DTSSource("PersonCode") ) ) then DTSDestination("Surname") = DTSSource("PersonCode") El ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. I cannot deploy to my XBox 360, have searched.

    I've searched around, and haven't found a solution to this problem that works. Both computer and 360 are on the same subnet, wired to the router. In fact, the XBox 360 works fine as a media center extender for that PC, so I know that to some extent they can communicate across the network. I cannot ping the X360 from the PC (I get timeouts) and I cannot deploy XNA program (the X360 sits at the screen saying it is waiting for connection, and the XNA toolkit says that the deploy failed because it could not reach the XBox). Hi I had exactly the same problem - apparently pinging will always time out, the documentation is incorrect when it says give it a try to make sure it's all working. My soluti ...Show All

  • Visual Studio crystal reports in c# / disable parameter prompt

    Hi everyone, is there a way to disable the parameter prompt of the crystal report viewer in c# (2005 beta2) I've got a simple report viewer, which doesn't have the smart tag to disable the parameter prompt as apparently the viewer for asp.net does, I'm loading a simple report with a parameter at runtime where I also set the parameter in the code, but still it'll prompt me for that anoying parameter and use the one from the prompt!! I didn't find any option in there (at least not in intelliSense...) to disable it... Any help much appreciated... thanks very much! Vince OK, still working on it. I get internittant errors when displaying the report in the viewer 'operation illegal on linked paramet ...Show All

  • Software Development for Windows Vista Live UDF slow and buggy

    In the following, I am comparing the Live UDF of Vista to Windows XP SP 2 with Roxio Drag-to-Disc version 8.0.5.23. The following tests are done on the exact same hardware, and using the same files. I have XP and Vista build 6000 installed on two separate partitions of the HD. This should serve to suggest that all of the following differences are due to software only, and not hardware or other factors. Two bugs : 1) I insert a CDRW and open Windows Explorer, and select Erase Disk. When I press the OK button to begin erasing, Explorer and the progress window both close, and the erase apparently is not being done... Launching Explorer again and trying the same thing again seems to work. This bug also existed in Pre-RC1 build, and seem ...Show All

  • .NET Development Serializing an Object into a database Column

    I'm trying to serialize a custom object into my database, Heres the code: /// <summary> /// Creates new user session /// </summary> /// <returns>Guid</returns> public static Guid InsertNewUserSession(CustomPrincipal principal, string connString) { Guid token = Guid.NewGuid(); using (SqlConnection connection = new SqlConnection(connString)) { MemoryStream memoryStream = new MemoryStream(); BinaryFormatter binaryFormatter = new BinaryFormatter(); binaryFormatter.Serialize(memoryStream, principal); SqlCommand command = new SqlCommand("upInsertNewUserSession", connection); command.CommandType = CommandType.StoredProcedure; ...Show All

  • Smart Device Development Sample Windows Mobile 5.0 Pocket PC SDK Projects

    Hi all, I was just having a gander through the sample projects provided with the WM5.0 SDK and noticed that the CPP (C++) projects seems far superior to those of CS (and VB). For example, the listView example project allows ListViewItems to be editted (pops up the SIP to enter text) within the control by tapping the relevant ListViewItem three times - is this not possible (editting the Text of a ListViewItem) then with in C# (Does C++ over more power in terms of developing mobile apps ) Excuse my lack of knowledge here, but C++ is not classes as managed code is it Also, if the platform supports TextBox controls, you can set a ListViewSubItem to be of this type ...Show All

  • Visual Studio Team System Moving States and Transitions to new Work Item Types - what gets left behind?

    We are encountering a number of situations at our client sites that involve modifying Process Templates to 'correct' the client's attempts at designing new workflows. That is, clients have used template modification tools such as PTE to add work item types and global lists and work item type fields and work item type states and transitions and reasons. Then they have used witimport to upload the changes to specific TFS projects. Of course, they need to modify each TFS project to make the changes apply consistently to each new project. By the time we arrive on the scene, they have realized they now understand their process more better and they want to make a more organized modification. So the problem that is arising centers on ...Show All

  • Smart Device Development how to read an incoming email in pocketPC 2003?

    Excuse me anybody know about how to read an incoming email in pocketPC 2003 I have tested a lot times,and I have downloaded VOmapi,but still not got exact email body content,Please help me,Thanks! http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnppcgen/html/ppc_2002part2.asp I debug the MAPI2 project based on this article in EVC4.0 and POCKETPC 2003,I found the email'body display exactly in the first time running,but when I select another email (this mail'body shorter than the first email's),I found the second mail's body display not exactly.It display more content than its exact content. anybody can help me Thanks! ...Show All

  • Visual Basic Code example to determine if a column exists in a table or not?

    Hi, I'm having a lilttle difficultiy in finding a code example that will determine if a column exists in an existing table or not.  This will allow my application to be a little dynamic and process differently depending on whether the field exists or not. The tools I am using is an Access database and using VB.Net 2003 and OLEDb for the interface if that helps a little more. Any assistance will be greatly appreciated!! TIA Hi, the following code will add a column to the table if it doesn't exist there yet: If table.Columns.IndexOf( "Location" ) < 0 Then     table.Columns.Add( "Location" ) End If Andrej ...Show All

  • Visual Studio 2008 (Pre-release) Is LINQ in its current state (may CTP) useable to develop with?

    Was going through alot of threads, but i didnt see any concrete answer to my question. I am about to start development on a server where we in the future would like to use LINQ. Would it be advisable to start using the LINQ may CTP or are many things destined to change so we would have been just as good, if not better off going with ADO.NET untill the final release of LINQ is available, and then rewrite it to use LINQ If you plan to use LINQ to Objects or LINQ to XML only, I think you can start now with the Orcas CTP from this month . If you want to use LINQ to SQL, you're better off waiting until the February CTP or the Beta 1 that will come after that. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Stopping A Model Stretching With The Screen Width/Height

    Hi, I searched for this but couldn't find anything about it. I am currently rendering a ball (a 3d model) to the screen with the following code from the help docs: private void DrawModel(Model m) { Matrix[] transforms = new Matrix[m.Bones.Count]; float aspectRatio = graphics.GraphicsDevice.Viewport.Width / graphics.GraphicsDevice.Viewport.Height; m.CopyAbsoluteBoneTransformsTo(transforms); Matrix projection = Matrix.CreatePerspectiveFieldOfView(MathHelper.ToRadians(45.0f), aspectRatio, 1.0f, 10000.0f); Matrix view = Matrix.CreateLookAt(new Vector3(0.0f, 50.0f, Zoom), Vector3.Zero, Vector3.Up); foreach (ModelMesh mesh in m.Meshes) { foreach (BasicEffect effect in m ...Show All

©2008 Software Development Network