Software Development Network Logo
  • Windows Vista
  • Smart Device
  • VS Express Editions
  • Windows Live
  • Architecture
  • Visual FoxPro
  • .NET Development
  • Visual Basic
  • Visual Studio
  • Visual C#
  • Visual J#
  • VS Team System
  • SQL Server
  • Game Technologies
  • Microsoft ISV

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

TimDev

Member List

ldcooke
Dahlman
Bassem
Espens
Michael L. Georgia
crp2k4
Lions
websdaleandrew
xensu
polytx
Mark Rodenhauser
QUANTMCVA
Pavel Sich
JoelLoh
Ryan.Kelley
RobertG1
brent.xml
CAnil
DustinBreese
NETallica
Only Title

TimDev's Q&A profile

  • .NET Development Serialization framework improvements in .Net 2.0?

    I have re-implemented an IFormatter for the project NGrid . The code can be seen on this page . I have found such tasks very tedious with the current design of the serialization framework in .Net 1.1. Here below, the list of the hard points. IMessage serialization (and the derived classes) is pure hell. As the consequence even the BinaryFormatter fails when it tries to serialize an IMessage containing itself an other IMessage. IMO, the IRemotingFormatter interface is useless, I see no reason (especially performance) that implies such an hacky design. Cf IBinarySerializable interface as a solution. IMO, the Formatter class designed that ...Show All

  • SQL Server Merge replication fails

    Hi all, Finally snapshot is generated. Then i create a pull subscription (i am using merge replication). But after executing 193 actions it gives following error Line 1: Incorrect syntax near 'No_' Details are as follow. 1. The subscription has been marked for reinitialization. Reinitialization will occur the next time you synchronize this subscription. 2. Category:SQLSERVER Source:  IM66\WM_MSDE Number:  170 Message: Line 1: Incorrect syntax near 'No_'. 3. Category:NULL Source:  Merge Replication Provider Number:  -2147201001 Message: The process could not deliver the snapshot to the Subscriber. 4. Line 1: Incorrect ...Show All

  • Visual Basic Arraylist of structure problem

    Modifying arraylist I have an arraylist of a certain class Private Structure DataStruct  Dim name  Dim val End Structure Dim list As New ArrayList And as my program go along I add items to my arraylist(list) of DataStruct type..] My problem when i want to search for a certain data(for example a name) in the list and after that i want to change the val member, how can I do this without having to use index method Pls help! Thanks guys.     Yes in my example [0] is just an index, i only used '0' for the example. Like i said, though, using a Dictionary/Hashtable would allow you to say [" ...Show All

  • Windows Forms DataGridView and the automatic ellipsis

    I am working on converting a project from VS3 to VS5. One form has a grid which now uses the new DataGridView. Overall it is great. However, there is one small issue: When the amount of data in a cell is larger than can be displayed, an ellipsis is shown. This normally would be fine. However, this grid displays records from a database and a field may be 30 characters long, but with only 5 actual characters and the rest spaces. The cell, however, still thinks that they are actual characters so the cells always display the ellipsis, even when it is actually empty (only spaces). I have looked for a way to format it with the DefaultCellStyle. ...Show All

  • Windows Forms Programmatically Bind a ComboBox in DataGrid?

    Hi, I have a DataGrid with several column that have comboBox inside. I would like to set the dataSource for the other comboBox based on the item selected in comboBox1.  when the datagrid is first loaded, it takes the details from DataBase.  When the cell is in Edit mode, ComboBox will appear, and uses can edit the data by selecting an item from the ComboBox (say, Product Type).  Then, based on the Product Type selected, other ComboBox in the DataGrid (cbxSize, cbxColor) are then binded to the range available for that selected Product. Now, I can only change the whole column of the ComboxBox to get the Size/Color. Bu ...Show All

  • .NET Development Can't run web services locally.

    Hi, I can create a web service, post it to my host and then use it.  But I can't use a service on my local machine.  I'm running Windows 2000 Professional.  When I try it always says "can't create type classname".  I figure this is because the web service isn't running on IIS like in v1.1.  But I can't figure out how to make the web service run so that I can then run my web app locally and step through it.  Any ideas on how to do this   Thanks!  Ken. Hi, I found out that if I put the services in a different solution I can get that solution started with the web server th ...Show All

  • Visual Studio Team System Clean single server install problem

    I'm having a problem when trying to create a new team project. I've installed using the latest install guide and have followed each step as described. Below is the error. Any ideas ---begin Exception entry--- Time: 05/12/2005 10:29:39.921 Module: Initializer Event Description: Initialization for plugin "Microsoft.Pcw.wss" failed with error: "Client found response content type of 'text/html', but expected 'text/xml'. The request failed with the error message: -- <html>    <head>       <title>Server Unavailable </title>    </head>    <body>    ...Show All

  • SQL Server need help, How to change datatype in order to sort some extracted numbers from string

    Hello, I am trying to extract from some strings like the following strings the number and order them by that number: Box 1 Box 2 Box 3 Box 20 Box 21 ...(and so on) The problem I am having is that I already extracted the number using Substring([field],[starting position],[lenght]) but the output seems to be in a string format, so the order is not in an ascending order. Thanks for any suggestions. You need to cast the result as a number. It looks like your number is always an integer so the following should do it: (DT_I4)Substring([field],[starting position],[lenght]) -Jamie ...Show All

  • Visual C# Nice Threads!

    I could really use some help here... I am using C# 2005 and have created a splash screen that runs on a seperate thread. I can invoke the splash screen in the Main() method, but then I can't get rid of it! I am attempting to put a line in the Form1_Load (or maybe Form1_Shown) that calls a static method in the splash screen to close that form. But, when I do so, it complains about an invalid cross-thread operation. How can I get this screen to close Here are the relevant parts to my splash screen: // Static Public Method to launch Splash Screen static public void ShowSplash() { if (ms_frmSplash != null) return; ms_Thread = new Thread ...Show All

  • SQL Server SQL 2005 extended stored procedure much slower than SQL 2000

    I've been writing extended stored procedures and found the operations to get/set input/output parameters, and get parameters' type are much slower (about 100%) than SQL 2000. Should I report it as a bug ...Show All

  • Windows Forms Custom prerequisites?

    Hi, I'd like to add custom prerequisites for ClickOnce deployment like WordViewer and ExcelViewer. Is that possible or would I have to do that on my own Thanks, Tom ah ok, that's strange ... I tried installing it from my laptop which has beta2 on it but for some reason it always failed. I just tried on my dev machine with RC on it and works indeed ;) thanks ...Show All

  • Visual Basic VB.net 2002 vs 2005 Express

    I switched to VB.Net quite a while ago now and still use the 2002 version. I tried the express version a while ago but was put off by the new click-once setup facility. Do any of the new Express versions have a Deployment add-on like the older versions where you can build a setup.exe to include a setup.msi, instead of the click-once version   The more inclusive versions such as Standard, Pro and Team Suit have more comprehensive deployment capabilities which I prefer to one click. Product comparisons are available here: http://msdn.microsoft.com/vstudio/products/compare/default.aspx ...Show All

  • Software Development for Windows Vista using workflow parameters

    In workflow: -I can defines parameters and use them to put values in/out workflow and outside environment througth C#/VB assignment code. -I can create some public variables and use them to store/transfer data with outside method/service througth tab Properties. Is there any way to direct use parameters to communicate to outside method/service Thanks Kha - what do you mean by tab properties   Workflow parameters aren't used to communicate with external services...to do this, you should use the InvokeMethod shape.   Arjun ...Show All

  • Visual Studio Legend Colors

    Hi, I am using crystal reports 11 developer edition and I have a percent stacked bar graph where I have to have aprticular colors for fields.Like % passed is green,%blocked is black,% failed is red and % Remaining is blue. I am able to select this for the graph but when i preview my graph my legend does not show the right colors even the graph does.what could be wrong Thanks, Sudha Hello Sudha, I'm not sure what this could be, but it sounds like an issue that you should contact our customer support team on as it may be a bug. http://support.businessobjects.com/fix/contact.asp Keith - Business Objects ...Show All

  • SQL Server Deleting Files using SSIS Scripting Object

    I am utlizing a scripting object in my ssis to combine two text files into one final file, and then I want to delete the original files. To do this I am utilizing the FileSystemInfo namespace and associating the file names, then utilizing the DELETE functionality. The creation of the final file works perfectly...unfortunately, my base files do not delete, and I do not get a failure message or indictator. Here is my code: ' Microsoft SQL Server Integration Services Script Task ' Write scripts using Microsoft Visual Basic ' The ScriptMain class is the entry point of the Script Task. Imports System Imports System.Data Impor ...Show All

©2008 Software Development Network