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

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

Biche

Member List

robertje
chris441962
Alex Michael Leonard Klein
Abhayc
weiqj
clint 2
M Parker
*KGy*
Mutola
Vincent Hung
farsad ghaffarian
AAAchiel
Marco9976
Crish
Satya vani
Benorama
Buddhist
harmony_76
crackula
Jaime Stuardo
Only Title

Biche's Q&A profile

  • Visual C# Format String??? Help --->

    I need to convert a string from bytes to megabytes. I have this so far: label1.Text = string.Format( ) but how do I format the string > I can only assume you mean to divide a number in a string by a million. in that case string.Format would be useless for this. String.Format can be used to divide by a million, e.g.: String.Format("{0:0,,MB}", 1234000) gives "1MB" String.Format("{0:#,##0,,.0MB}", 1234000) gives "1.2MB" String.Format("{0:#,##0,,.00MB}", 1234000) gives "1.23MB" But you will need to divide if you want "real" megabytes, i.e. divide by (1024*1024). ...Show All

  • SQL Server a text file data source

    I would know how to create a report which has as data source a text file someone can help me Hi Maaloul- To retrieve data directly from a text file, you would need to implement your own custom data extension. A sample data extension can be found here: http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=B8468707-56EF-4864-AC51-D83FC3273FE5 -Jon ...Show All

  • Software Development for Windows Vista Problem with Drag & Drop

    Hi! I have the following problem: In my workflow designer host application I have a toolbox implementing ItoolboxService like in the Designer Rehosting example. When I drag items from the toolbox onto the design surface, a correct drag item is shown along with the name of the activity. But when I drop them on the surface, I get a NullReferenceException in the overriden OnDragDrop event of the root activities designer, more precisely when base.OnDragDrop is called. The Activity DragEventArgs seem to be correct tho... When I use the ToolboxService class of the Designer Rehosting example, everything works fine. Although I use exactly the same serialization/deserialization methods as the example... (and the Activity DragE ...Show All

  • SQL Server Configure Report Server with SQL Server Express with Advanced Services.

    I'm having a world of trouble with the Reporting Services Server. The install went fine. I went in to configure the Report Server and when creating the Report Server and the Report Manager virtual directories I get the following error: "The virtual directory could not be created. The previously set virtual directory will still be used." The problem with this is that I have not previously set a virtual directory. When clicking on the link I get the additional error information: "System.IO.FileNotFoundException: at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Management.ManagementObject.InvokeMethod(String methodName, ManagementBaseObject inParameters, Invok ...Show All

  • Visual Studio Express Editions Visual Web Developer 2005 Example Code?

    I just downloaded Visual Web Developer 2005 , and I want to learn more about the features of it with example code. Is there a place that has a list of example code that I can use to learn more about Visual Web Developer 2005's features (Like something similar to W3Schools' ASP.NET Examples at http://www.w3schools.com/aspnet/aspnet_examples.asp.) Thanks for any help. http://forums.asp.net would be the forum to post all your ASP.NET/VWD question to www.ASP.NET would be a website having some sample code snippets and articles and starter kits http://msdn.microsoft.com/vstudio/express/vwd/starterkit/ ...Show All

  • Microsoft ISV Community Center Forums Validation list macro

    Hi I need help... In my drop-down validation list when I select let's say "Apple", I want a message box to come out, only for "Apple", let's say" Attention: You selected apple. We remind you that this item..." If I select, let’s say "Onion" nothing should be came out. Could someone help me with this, I think by running a private macro Hi, I have used the same code as u told.In this case i used data validation,if there is any change the list i need to display the msgbox.Problem is it is coming for the first time i open the woorkbook.There after it is not working.is there is any alternative for worksheet_change. ...Show All

  • Smart Device Development LineGetCallStatus?

    Hi Theres, I have send lots of Post on the topic but still didnot get any replly so please take a look personaly. I think i have simple prob. whenever i call a number at this time i just want to know at present the status of the phone where i did call. Status means; its busy. its out of range. its switch off. others. actualy fot it i get a function name is LineGetCallStatus. but i dont have any idea to use it. where r u, life is calling u. Rajat Well, this could take a little bit long... You need to convert all needed structures to VB.NET. I'm not very familiar with VB, so I can't help you there. Best thing is to search in this forum for TAPI, at least for C# a wrapper for the TAPI-functions exists. ...Show All

  • Software Development for Windows Vista iso file locking

    I'm doing iso image writing following the sdk sample code - converted to use ATL. After the write, which completes with success, the function is exited, and all the atl objects seem to go out of scope with no leaks that I can see. Outside of the function, I try to delete the iso, but DeleteFile fails with a GetLastError(): "The process cannot access the file because it is being used by another process." Is there some kind of Close() call I need to be calling on one of the interfaces ( IDiscFormat2Data or IStream maybe ) After "fixing" this I happily moved on, only to discover to my dismay that when running debug binaries outside of the debugger, my code crashes ...Show All

  • SQL Server T-SQL Badly needed

    To one of our sql server database Table A , we need to migrate data from another sql server database Table B . Assume there are two columns in a table namely OrderID and Comments . Here OrderID is a foreign key. And therefore, I can have any number of comments for a Particular OrderID. Thru a TSQL query, I wish to have all the Comments data beside the OrderID seperated by comma like Ord1 Comm1, Comm2, Comm3 Ord2 Comm5, Comm6. Comm7, Comm8, etc., This is just the thing we used to do for numeric columns using GROUP BY statement as SELECT ORDERID, SUM(ORDER_TOTAL) AS AMT FROM B GROUP BY ORDERID Want to know how to achieve similar effect with Varchar type of data. I'm currently using Cursor to concat, but it is taking long l ...Show All

  • SQL Server Why it is rounded off the decimal number??

    I am using the following code but it rounded off the decimal number and save the number in rounded form in the database(SQL). Plz tell me what is problem with this code. using System; using System.Data.SqlClient; using System.Collections; using System.Windows.Forms; using System.Data; namespace ConsoleApplication1 { class Program { static void Main( string [] args) { string connString = "server=(local);database=WH;Integrated Security=SSPI" ; SqlConnection conn = new SqlConnection (connString); try { conn.Open(); DataSet oDS = new DataSet (); // Create the DataTable "Orders" in the Dataset and the OrdersDataAdapter SqlDataAdapter oOrdersDataAda ...Show All

  • Software Development for Windows Vista Rehosted designer Rule Condition error with June CTP and XOML only workflow

    If I attempt to create a rule condition in my rehosted designer for a XOML only workflow I get the following error displayed in a Properties Window dialog as soon as I type in the Rule Condition dialog index was outside the bounds of the array This is something that has been broken by moving to the June CTP, unfortunately. Any suggestions This doesn't help, unfortunately. The TypeProvider code above is already in Vihang's example, (appart from looping over the CurrentDomain assemblies which I added for good measure). Did you make the two small changes to Vihang's latest example, (as in the second post), and not get the runtime error ...Show All

  • Visual Studio Team System TFS Tools under /Common7/IDE not installed?

    On a dev TFS server deployment, the ..\common7\ide directory contains the various tools such as glimport.exe, glexport.exe. However, on a new installation I performed on a clean box, there is nothing under that directory except for the \PrivateAssemblies subdirectory. Are the tools such as glimport.exe installed by default, or am I missing a step somwhere Thanks in advance Chris Chris, are you still struggling with that issue You mentioned you do not see anything under there except PrivateAssemblies directory right At least devenv.exe should be there, so you might want to check your VS's shortcut to see where it is pointing to. ...Show All

  • Architecture Code Generation - MyGeneration, CodeSmith, GAT/GAX or DSL?

    I am looking to generate code based on a database structure. I want to start with a base template and add things I need to it. My goal is to auto generate the boring repetative code so I can focus on the most important areas. I have been looking at CodeSmith and MyGeneration which both have starting point templates that use Enterprise Library but I wanted to see what Microsofts approach was. Is it Guidance Automation or DSL If so does anybody have an example of how to generate DAL classes and entity classes from a database using these tools Look at Smart Client Software Factory and the Web Service Software Factory , there are example implementations in it... in the wssf is a guidance packages th ...Show All

  • Visual Studio Express Editions concerning media player

    renee where do I post pause button code Here's the point. It's a burden and I recognize that. I'm here to help you. So in my eyes, the question becomes, to what extent are you willing to help someone who is helping you Who is to assume the burden. It's not easy to debug a noobie's code. It's much worse when I have to do the mental gymnastics to format your code in my head. That really distracts me from helping you. I'm really willing to work hard for people but I do have expectations. My expectation is that they do their share of the work and not have me do all of it. If they want to put unreadable code up, fine. In that case, I feel they haven't done everything they can to make things easy for the volunteer who i ...Show All

  • SQL Server Failure to authendicate domain/users

    I have several access databases in mind to migrate to SQL server. I installed MS SQL 2005 Express on my machine. I will have procedures to run with authorizations beyond that of a common user, such as database administrative work where server agent is not available, I may rely on users' log-on prompt to do some maintenance work. However, I cannot get the EXEC AS 'Domain\User' to work. The procedures can be created OK. But whenever they are called, the following message shows up: Msg 15404, Level 16, State 19, Procedure XXX, Line 0 Could not obtain information about Windows NT group/user 'Domain\User', error code 0xea. I tried to tweak with the account under which the server service is running. There are three options under built-in a ...Show All

©2008 Software Development Network