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

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

cobain81

Member List

M. Shariq Muzaffar
Learning VB
Juniorscone
Bassam72
Bastiaan Molsbeck
Paul Paschedag
Vedratna
ChandraP
csname
dzimmy
Ariel Valentin
aztec2_step
ctsand
Lofe
Simon FERQUEL
Bombastic
PeterKar
maxmus
mickdelaney
DmitryMS
Only Title

cobain81's Q&A profile

  • Windows Forms "the path is not of a legal form" error

    Hi, I made a control, and when I try to add it to a form, it shows me the error "the path is not of a legal form". How can I solve it Thanks. I struggled with this error for a long time and I found that, even though I didnt think this was the problem, one of my .dll references was bad. When I removed it, everything worked fine. You should check all of your references in your projects... ...Show All

  • Visual Studio Team System Forcing "Check In" radio button selection on project check out

    I want to force the use of the "Check In" radio button option when users check out .csproj files. I want to force this flow: User A checks out Project.csproj User B checks out Project.csproj User A checks in Project.csproj User B checks in Project.csproj And not allow this flow: User A checks out Project.csproj User B checks out Project.csproj User B checks in Project.csproj User A checks in Project.csproj However I have not seen a way to force this for certain file types using TF.exe. Is this possible The lead developer wants to force the merge responsibilities on the second person to check out the file rather than on the original person to check out a file. Thanks for the inf ...Show All

  • Visual C# how to add timeOut without using thread.sleep

    hi, i have wrote a client/server ClassLibrary, i use separated thread to receive packets(receiver thread) , and i receive packets but not in order, for example if i send requestA and request B, i can get responseB b4 responseA, and in some cases the server will not send responseB (this is exactly how i want it to work) so here its my question, How can i add timeOut to my class (without blocking) right now i use thread sleep something like this int counter = 0; bool MethodB() { Client.SendRequestB(); while (counter < 1000 && responseB == null ) { counter++; System.Threading. Thread .Sleep( 60 ); } if (responseB != null ) throw new ABCException ( "TimeOut: You sent R ...Show All

  • Visual Studio Express Editions locked up

    no one in the other forums is answearing my question. someone on this forum asked me to post the error message and before I could the mods moved my thread to some useless forum. so heres a link..Hopefully somone can help , its really dishearting to get into programming only to have such a stupid problem. http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=745207&SiteID=1 has anyone checked out my link , it has screen shots of the error. this is so frustrating...been a week alrdy and no one can help . ...Show All

  • .NET Development clone DataReader

    Hello all, I need to loop through DataReader two times, but the second time, I can't read it because it has no row. Here is my code Dim dr as DataReader 'Connect to database and retrieve rows of data Do While dr.Read() 'Process some reading rows of data Loop Do While dr.Read() 'This time the DataReader has no row here Loop So my question how can I process DataReader by using Read() again Do I have to clone DataReader If so how Thanks A datareader usually represents a forward only, read only cursor. You will not be able to use a datareader how you describe the code. I can imagine a few options. Consolidate the iterations to one using a single datareader Load a dataset/datatable in ...Show All

  • .NET Development Socket close problem

    im having problems disconnecting clients from my server, when a client dissconnects I call Socket.Close(); witch I though would close off the connection for this connected socket. the problem is in my read code a Exception is thrown each time a client is disconnected saying you can not access a disposed member of System.Net.Socket here is the code that removes the clients on the server public void dc_user(User sender) { string name = sender.Name; if (sender.is_connected) sender.RemoveClient(); if (client_hash.Contains(name)) { client_hash.Remove(name); } } the RemoveClient void is simple public void RemoveClient() { client.Close(); } any help would be great thanks ...Show All

  • SQL Server Same cube giving different results ?

    Hi all I've a cube in a virtual machine (for tests) which works fine. As it's finished, I deployed this cube in another server. All results are the same, excepts for the 3 month average calculations i made to calculate KPI trends :-( The versions are : - Virtual Machine (OK) : 2005.090.1399.00 - Server (BAD) : 2005.090.2047.00 The calculations all look like this : ( [DATE].[Hierarchy DATE Calculations 4].[MoySatisfactionGlobale3mois], { [Measures].[Note DELAI Count], [Measures].[Satisfaction Globale] }, [DATE].[MOIS CLOTURE].[MOIS CLOTURE].Members ) = Avg( { ParallelPeriod( [DATE].[Hierarchy].[MOIS CLOTURE], 3, [DATE].[Hierarchy].CurrentMember ) : [DATE].[Hierarchy].PrevMe ...Show All

  • Visual Studio Team System Cannot create new build type on TFS client machine

    Not sure if this is Version Control related but the error message I receive leads me to believe that it is. When I try to create a New Team Build Type by right-clicking on the Team Builds node of my team project in Team Explorer (for which the current user has full TFS admin privileges), I always get the following dialog: --------------------------- Microsoft Visual Studio --------------------------- TF42024: Failed to start the wizard. The workspace [my machine name] is preventing the wizard from creating temporary workspace required for this operation. Please change the folder mapping of the workspace to some other local folder. --------------------------- OK --------------------------- What can I do to fix this ...Show All

  • Software Development for Windows Vista #include "wlanapi.h" doesn't compile

    Hello There, I install the windows SDK Beta 2 to use the native Wi-Fi API. But it didn't compile when I did inlude the wlanapi header file. Can you guys give me some tips please P.S. I have visual studio 2005 installed. Plus I also import the libraries I need into the project. However I didn't install WinFX. Any feedbacks will be appreciated. After investigating the issue, I discovered that there were two missing header files. I've added these to the latest internal build, which you will see in the next public build - set for Vista RTM If this answers your query, please close the question. Otherwise, let me know if you have any further questions. ...Show All

  • Windows Forms Autocomplete dropdown not disappearing

    I have created an autocomplete collection for a textbox, and it works fine when using the mouse i.e. when entering text the dropdown appears, select an item with the mouse, the drop down disappears and the item appears in the box. However when using the enter key, the item appears in the textbox but the dropdown still remains, is there anyway of making the autocomplete dropdown disappear when using keys, just like the mouse buttons. I have set the autocompletemode to suggest and it works fine for me when I hit enter key (the drop down disappears..). can you post your code here..i would like to take a look at it.... ...Show All

  • .NET Development C# execute store-procedure

      Is there away to execute a store-procedure(s) and get how many secs/mins it takes to execute   Thank you,     Thank you, The reason I need this, I have scripts in .net that execute storeprocedures and some are very long, and sometimes they are executed by over 1000-3000 people, and I wanted to check if it takes long time, if it does than they would need to be fixed. And I dont want to run each one in SqlServer, I wanted to create a tool that checks that. Is System.Diagnostics.Stopwatch is used in .NET 2.0, if so do you know a class in .NET 1.1 Thanks, ...Show All

  • Visual Studio Express Editions I'm so screwed! Please help me!

    Ok, so I'm still at college and I have to do this hangman program in VB 2005 and I don't know how to show the string of letters that have been typed in! I alseo don't know how I will be able to show the little hangman diagram. will someone PLEASE help me! This has to be handed in tomorrow and I have no idea what to do and I really need a good grade! Thank you Mandy We call it code leveraging. I fully agree with your comment though; I just didn't want to be so blunt, especially when I know what they're going through as I've just spent the last 4 nights (staying up 'till 3am) trying to finish off my Masters assignment (C#). No, I didn't leave it to the last moment. I just had so many other ...Show All

  • Visual C++ Visual Studio 2005 CMenu Windows 2003 Style

    Does anybody know if Visual Stuido 2005 support CMenu in Windows 2003 Style We used to write own custom CMenu in Visual Studio 2003, and we are wondering whether Microsoft supports it naturally in VS 2005 If VS 2005 MFC does not support that, does anybody know if C# supports it or not Thanks. Lawrence You can mix Windows Forms with MFC, but I've never yet seen anyone use the Windows Forms menu strip on an MFC frame window. But it's worth a try. Lawrence Fong wrote: Yes, I mean Office 2003 Style. Could I use Windows Forms on top of my MFC application Or do I need to rewrite the whole app in Windows Form Thx ...Show All

  • Visual C# How TextBox,Button etc be packaged to Array

    Any one can tell me how the TextBox,Button etc be packaged to Array, i have developed a form with verious control as textbox, combobox etc, i want to reset its fields, i want to add all textbox and comboBox to an array and then using loop reset them instead of writting code like textbox1.text=""; textbox2.text=""; textbox3.text=""; Thanks still dont understand why it would not work. Are you stating that the textboxes are inside the groupbox if so then this is the problem as you need to get the controls in the groupbox then clear them out. The code currently works for controls that are on just the "parent" control, the main form itself in its controls collection ...Show All

  • Windows Forms Adding multiple controls at runtime

    Hi all, i am new in visual basic, so any help would be appreciated. I want to create a form where user could input a number in a textbox and after clicking on a button, there would be adde on the form as many textboxes as user has filled in the original text box. Additionaly, i would like these new controls to have the same name with a counter at the end, i.e., first textbox name= Criteria1, second textbox name= Criteria2 etc. i tried the For...Next, Do While/Until and stuff like that, but i haven't manage to create anything more than one and only one control at runtime. I would also be interrested in how could add new controls on form every time a button is clicked. Trying the following code, Button1 Click procedure ...Show All

©2008 Software Development Network