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

Software Development Network >> John Cogan's Q&A profile

John Cogan

Member List

Polina159216
KazumaX
giflen
gil bil
Ri-Karou
DavidW57
Santosh Ransubhe
Nickthegreek
saju
ddee
vbjunkie
MDesigner
dreyx2000
gmedia
CFIG
Hans1982
mliesmons
n_jagan
Sigurd DeMizar
MelAnne
Only Title

John Cogan's Q&A profile

  • Visual Basic Conversion of Double to Single

    I've been fighting with this problem for the past couple days and finally narrowed the problem down to the following couple problems: (This is all in VS 2003 .NET 1.1) #1 I have a Generic procedure that has a ByVal parameter of a Single datatype. In one of my modules, I happen to be calling the procedure passing in a Double datatype variable that has a value of 152347.04. When I step into the procedure, the Single datatype parameter then has a value of 152347.047. I've tried type casting the Double to the Single datatype but still get the same results. I can't figure out why it's not converting over the Double to a Single type by adding some erroneous value to it. #2 Also in the same procedure, I was passing in an ArrayList object that was ...Show All

  • SQL Server How and where should I create a mdf file if I installed a sql server 2005(Developer EditioN)

    hi: I am a newbie to sql server 2005 ( developer edition ). Now I installed both sql server and VS 2005 professional edition on my machine. I just what to know how and where should I create a mdf file on my server or .net window project because I try to combine to it from a window application. Should I use the sql server management studio or the Visual Studio 2005 What is the generate steps to create one I am completely confused. Please help me, I cannot find related on line source. Thank you, thank you bigheadjj That depends wheter you want to use a user instance with a SQL Server database or a SQL Server hosted instance. The Visual Studio Database can support both, whether a u ...Show All

  • Visual Studio Team System Saving attachments

    To save an attachment you have to open it and then save it from within the application that has opened the attachment. In my experiences, IExplorer is always opening the attachments and sometimes failes to do so. For example: opening xml files for which the specified schema can not be found. Also for other file types like .jpg I rather want to save the files than open them in IE. I tried to change the file type associations as explained in http://support.microsoft.com/kb/905703/en-us , but no luck. (What's more, for file types for which I changed the default open-application, the Advanced button is missing in the 'Details for .. extension' dialog. Only after pressing the 'Restore' button I can select 'Advanced' and then check/uncheck 'Conf ...Show All

  • Windows Forms hex display

    HI everyone, i have a value that i want to show in hex. I use : textbox1.Text = "0x"+value.ToString("x"); I get the results right, but if the value is 0x06, it only shows me 0x6, is there a format that i can use to get 0x06 Thank you You can specify the length of the string you want after the "x", so if you want 5 chars i.e. 0000f, you could do: value.ToString("xxxxx"); Mark. ...Show All

  • Visual C# How to disable abridging in an ArrayList object?

    Hi! Let's say I have this object: private ArrayList aryClients; // list of Client Connections Now, on every client connection that my server gets I add a Client object to that list. It's all good, but think of this scariano: 4 clients connected. Now aryClients has 4 items from index 0 to 3. The 3rd client who's Client object is in aryClients has disconnected, so item 2 was removed. Now this is where we're getting into my problem; I want that item 2 will stay null and item 3 (of the 4th client) will stay at index 3. Why you're asking Because I need to have quick access to clients' info in my server (it's gonna be a game server), and making a search (thought about the Windows handle of the client's sock - uniqe) ever ...Show All

  • Visual Studio Express Editions Starter Kits wont install

    i downloaded the Web Club Starter kit for Vb 2005 but it wont install!! i keep getting this message.. "Installation stopped because the directory for the ProjectType value did not exist. The project type is invalid for your installation of Visual Studio." can anyone help me also i unistalled C# but when i go to install the starter kit it still asks if i want to install it for C# as well! (just thought id mension that) Stuart Your trying to install the Web Club Starter kit on a VB Express Install. VB Express doesnt support Web Development. You can try installing after installing Visual Web Developer Express or purchase a copy of Visual Basic which does support Web devel ...Show All

  • SQL Server extracting table schemas with nvarchar column(on 2000) from SSMS

    Hi , when I use SSMS to extract the script for a table if the table is on a sql 2000 database and table has got nvarchar column then I will get following error message. property Ansipaddingstatus is not available for column XXXX. this property may not exist for this object,or may not be retrivable due to insufficent access rigths (microsoft.sqlserver.smo) and I am sysadmin on both server also I have to mention I have tried from another 2005 machine to extarct the script the same way and it did work. so the problem is do my sql 2005 edition. Many thanks Thanks for your reply, that's a very good point, which I should have thought before posting this issue but on the machine that it is failing I have got SP2 ...Show All

  • Visual C++ first steps

    Hi Im just starting out to learn VC++, I have previous expericience of c, Java and SmallTalk. I have the VC++ 2005 compiler and the book 'MicrosoftR Visual C++R .NET Step by Step--Version 2003, the first exercise is 'Hello World' to give you the idea...which compiles and runs ok, My question is will I run into lots of problems working through this book...or maybe translating the code will aid my learning I realise its not the best way to start off, but my budget wont stretch to buying another book, Some feedback would be appreciated The point of this thread is it contains a link to a site that reviews C++ (and C) books - I wouldn't worry that the thread hasn't had a post in 10 months. Ini ...Show All

  • .NET Development application doesn't run in the other computer

    I have Visual Studio Professional 2005 at my office and Visual Studio 2005 Beta at home. When i make a simple C++ Windows Form Application in the office i cant run at home. I receive a message that i translate: "The application configuration is incorrect .Reinstall may solve the problem." If i open the project with Beta and i try to run without bilding i receive a similar error ,It says also "Review the manifest file for possible errors". I rebuild then and runs in both computers. The reverse problem doesn't happen. If a create a program at home runs in the office. If i have Net Framework 2 in both computers why doesn't run at home the first program Thank You. The p ...Show All

  • Visual Studio Express Editions How do I make the enter key handle a button click?

    I have a form that has a combobox on it, if the user clicks a button after selecting from the combobox, another form will show. I would like to have the user select an item and be able to either click the button or just press the enter key on their keyboard. Thanks in advanced. I think what your refering to is more commonly described as the default button. If this is the case then setting the AcceptButton property on the form to the name of the button should do the trick. ...Show All

  • SQL Server System Monitor logging of SQlServer counters

    I have SQl Server 2000 running on my winXP machine, and I can see SQLServier counters in System Monitor. But if I add them to a log file, they don't show up I can log regular windows counters (like memory counters) but no SQLServer items. And I have tried run as using the account I log in (with full privileges). What's the trick Thanks for the reply, but I'm just doing what every example shows, adding SQLServer counters (like GeneralStatistics.UserConnections or AccessMethods.FullScans) and they won't come up in the log like the built in System counters. ...Show All

  • Windows Forms Problem referencing items in a different project in solution

    I am creating an Outlook style application with email and contacts. I have my mainForm which is in its own project. The main form has a splitter. One on the left for the tree. And one on the right for a grid. In the Contacts project, my contacts tree is a user control, with a treeview added to it, and it has another user control with a grid added to it. In my main project, I add a reference to the contacts project. When my program starts up, it programatically adds my contactsTree control to the left side of the splitter, and my contactsGrid control to the right side of the splitter. And so on, for the email it adds the email controls etc. When a user chooses email, the email controls are set to Visible, and the rest of the controls are hi ...Show All

  • Windows Live Developer Forums Mismatch in API and Adcenter Site data for KW Performance Report

    We have observed an issue in the Reporting in LIVE environment where in the data we get from the API (Keyword Performance Report with customized option) for given account and day. is different from the data we see on the adcenter site. I am not sure if the data returned by the API is incorrect or the data displayed on adcenter site is incorrect. The difference is in the range of 2-4 %. Is it a known issue at Adcentre Hello, Would you please specify the following Are you using the Production site for both the UI (website) and API What dates are you requesting the Keyword Performance Report for If possible, would you please post a non-proprietary code sample where the Report Request ...Show All

  • Software Development for Windows Vista Controlling MSWebDVD buffer

    Hello, I want to use DirectShow (the MSWebDVD control) in a vb project and I need access to the buffer. Basically, I want the program to automatically skip from one part of a movie to another while the movie is being played (say from 10 minutes into the movie to 12) and I want it to happen seamlessly. To accomplish this I need to alter the choice of data that is being buffered. I need the buffer to load the information needed to play the video that will come after the section is skipped (So, in the previous example, it would buffer the data up to 10 minutes and the next data that would be buffered would be that which is after 12 minutes). Is there a way to control what is going on with the buffer If not, can anyone suggest something els ...Show All

  • .NET Development XmlSerialization of object data type

    hi folks, i want .net framework to xml serialize the below class, based on the type of data present in the second data member. but, only the first data member gets serialized and the second member is ignored. is this the way to implement what i am looking at that too, in .NET 1.1. http://xxx ")] public class MessageParams { [XmlElement("Credentials")] public Credential cred; [XmlElement("FirstMethodParm", typeof(FirstMethodDataType))] [XmlElement("ScndMethodParm",typeof(ScndMethodDataType))] public object Item; } TIA Sek There should be not problems serializing this class. Could you post your calling code Are you i ...Show All

©2008 Software Development Network