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

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

HenkeB

Member List

Rudedog2
MEder
bw12117
Ilya Margoulis
kastanienreis
Andre's
esloat
Tdar
Bradrover
JStemper2
Davids Learning
turkeytickler
Harish.A
Agent00
Andrzej Martyna
Joao Campanico
Worf
Emy_P
Desconfiado
B.Huard
Only Title

HenkeB's Q&A profile

  • SQL Server Problem in using USE dbname

    Hi, I am trying to monitor log and data space usage through dbcc sqlperf(logspace) and dbcc showfilestats commands on a server. what I want to do is to log all these for all the database using a cursor all work fine except User @db go inside the cursor body. Does anyone know any alternative to use this to what I want to get Thanks Ap Instead of delimiting using GO, why not use a semi-colon (or don't delimit at all)   -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 --     < Adminanup@discussions..microsoft.com > wrote in message news:6448689d-70c0-438a-b3fc-3757d168048f@discussions ...Show All

  • Visual C# Difference between VisualC#.NET and C#

    Hello All, Just a basic question. I am seeing several books called VisualC#.NET , C#, C#.NET What is the actual difference between those What is the relation ship between C# and dotnet. Please give me the concept Thanks, John Hello Ahmed & All, One more question, In real time what kind of projects (Application, S/W) can be developed using C# and Why In real time what kind of projects can be developed using C++ and Why Also can some one give link to C# Interview questions Written and Oral Hope the answers will open my eyes :-) Thanks, John ...Show All

  • Visual Basic WINSOCK CONTROL

    I want to develop a network application using winsock control. I want to know the following socket primitive parameters used by winsock control: a. DOMAIN b. Type c. Protocol I will be very thankful. Regards Kashif Khan Is there a reason to use the winsock control over the .NET namespaces for network communication: Namespace System.Net Member of: System Summary: The System.Net namespace provides a simple programming interface for many of the protocols used on networks today. The System.Net.WebRequest and System.Net.WebResponse classes form the basis of what are called pluggable protocols, an implementation of network services that enables you to develop appl ...Show All

  • Visual Studio Trouble deploying and testing modified WCF Guidance Package

    Hi all, I have been busy modifying the existing asmx and wcf guidance packages to alter the code some existing recipes generate, and add a few more recipes. Testing and debugging the asmx package works with no issues, the modified asmx package has no new recipes, only new actions. However, the wcf package will not pick up on the new changes. After I have de-registered, and registered the guidance package it doesn't seem to pick up on any of the changes. When trying to debug the package, it will complain that it is unable to find the symbols for my new actions and references. I have tried uninstalling the WCF guidance package and reinstalling it with a modified setup file, however, when I do this it complains it cannot find WC ...Show All

  • .NET Development displaying hexadecimal values with leading zeroes?

    Hi, I wish to write to a file some Integers in hex format. That is, if the Integer contains ten, I'd like to write A. Actually, I'd like to have some leading zeroes included...000A instead of just plain A. theInteger = 10; sw.Write(theInteger.ToString( "x" )) // displays 'a' How can I force some number of leading zeroes I've looked at Help, but confess to getting lost in too many layers of IFormatter, GetFormat, etc. Steve Easy, just add the total number of digits you want after x sw.Write(theInteger.ToString("X4")); ...Show All

  • Visual C# Thread is taking maximum CPU time...

    hi... In my application , i'm using a thread to check for Queue contents. If i am having any data in Queue then i have to transmit/receive that data. But my application is taking maximum CPU time if i'm using infinite for loop in this thread & because of this my CPU is using maximum time for my application(around 95%). & if i'm not using this for loop i am not able to transmit/receive whatever data is there in queue. private void ComportThread() { for (; ; ) { //Check for queue contains, if data is there then trnasmit/receive } } What is the problem... Thanking you, Vinay Modify you code to put a small delay in each iteration: for (; ; ) { if (MsgQueue.Count > 0) { string fi ...Show All

  • Visual C++ Help with IF function

    Hi all! i has problem with "if" function. i has that code: char * suffix = strrchr(str, '.' ); printf ( "the file name suffix is: %s\n" ,suffix + 1); if ((suffix == ".txt" )) { printf( "true\n\n" ); } else { printf( "false\n\n" ); } when the input "somefile.txt", it's output me false. and when the input it "somefile.somesuffix", it's output me false too. anyone can help me with that You are comparing two char pointers, they'll never match. You need: if (!strcmp(suffix, ".txt") { printf("true\n\n"); ..etc ...Show All

  • SQL Server Thanx for response.

    Hi, I have one problem in my project. Generating the report plz help me. I have one table called Emp, which consists of fields, empid,tdate,attn,reason. Emp ---- empid | tdate | attn | reason 2281 6/3/2006 Present null 2282 6/3/2006 Tour Hyderabad 2283 6/3/2006 Present null 2281 6/4/2006 Present null 2282 6/4/2006 Present null 2283 6/4/2006 Tour null I want to generate a report as given below based on the date submitted by the user. Frm Date: 6/3/2006 To Date: 6/4/2006 empid Present Tour Absent No.of working days 2281 2 2 2282 1 1 1 2283 1 1 1 Please write the query and reply back to m ...Show All

  • SQL Server Attribute/Tags style search

    Hi, I am trying to write a query that will take a table with arbitrary key-value pairs and perform an inclusive search (ie, everything must match) on a second table with an arbitrary set of key-value search criteria pairs. The first table can get rather large, the search table will remain very small (<20 items). Any help would be appreciated. Thanks, Mike -- -- defines a source table that holds part attributes. the attribute names are -- completely arbitrary declare @source table ( partId int , attrKey varchar ( max ), attrVal varchar ( max )) insert into @source ( partId , attrKey , attrVal ) ( select 1 , 'STOCKNUM' , '12345' union select 1 , 'STOCKED' , 'Y' union select 1 , 'WEIGHT' , ...Show All

  • Windows Forms Custom Control

    How would I go about creating a custom control What do I create in the Designer In that case, create a new Windows Control Library. It it's properties, in the AccessibleRole choose PushButton or any other other control you want it to be. Is that what you wanted ...Show All

  • Visual Studio 2008 (Pre-release) WCF and MSMQ Transactional Read-response Applications to support scale-out and clustered queues

    Since MSMQ, on WinXP and Win2003, does not support remote transactional reads, does anyone know how best to implement the pattern described in this MSDN link http://msdn.microsoft.com/library/default.asp url=/library/en-us/msmq/html/ff5027bf-1617-4a9d-93dd-805c4164cff5.asp , which provides the same functionality as remote transactional reads Much Thanks, -Paul I built the MSMQ Pull model for my clients using a Remoting MSMQ Custom Channel for balancing scenario (one Request queue and many Response queues). This pattern can be implemented by msmqIntegrationBinding without any problem. Mostly, the Pull model is used for scenario, when the cluster of the clients will pull-up the message from the centra ...Show All

  • Visual Studio Express Editions Please Help: code for timer events is stuttering

    I'm almost finished with my first VB program, yet I'm not too excited about it. I have a problem I can't seem to fix. My program has two timers: one has an interval of 1000 and I use it to count down seconds. The other timer has an interval of 100 and it's used in a code for a stopwatch that counts in tenths of a second. The problem is that both timers stutter, something especially obvious in the one for the stopwatch, making my program useless - if you can't trust the stopwatch, then what's the point. The timers never run simultaneously and they are in different forms. Here is the code I'm using for the stopwatch <code> Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick ...Show All

  • SQL Server Where to read about the FormatNumber function...?

    I got numbers in the outputformat: 1,234.00 i like it in this way: 1234,00 How do I do that Btw, more information about numeric format codes is available on MSDN: http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconstandardnumericformatstrings.asp http://msdn.microsoft.com/library/default.asp url=/library/en-us/cpguide/html/cpconcustomnumericformatstrings.asp Furthermore, keep in mind that you may need to set Report.Language or Textbox.Language setting in the report to get the correct thread culture during formatting. -- Robert ...Show All

  • Visual Studio Express Editions Another Question DMan1

    hey, does ny1 no how i can upload .swf onto visual basic. When i place the object "Shockwave Flash Object" onto the form.. an error comes up saying "Failed to import the ActiveX control. Please ensure it is properly registered" i then re-registered it properly in a way some1 told me to, but still the problem is on!!!! can ny1 help me plz.....as soon as possible!!!! The My.Settings.cfgPath is most likely due to not setting up the user setting... double click on the "MyProject" icon from the solution explorer...then open the settings tab...in the Name column type "cfgPath" type = String scope ="User" and leave the default value blank... The "Me ...Show All

  • Visual Studio Express Editions problem setting object location

    heres my situation im trying to set the location of an object according to a point found in a text file however if i use this: obj1.Location = New Point(lineread) it causes the object to vanish off of my screen any pointers are appreciated thanks in advance As I dont know what the values or Obj1 is. Points normally have two parameters and x and a y coordinate but this only shows one. Dim obj1 As Control obj1 = ComboBox1 obj1.Location = New Point(100, 100) So the first is to provide a 2nd value and then next thing I would do is verify that the values you are providing are within the bounds of the form. That way you object will remain on the form. ...Show All

©2008 Software Development Network