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

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

brother14th

Member List

TFCNE
GavinMannion
Benjy
jminond
Pascal Frey
kcchesnut
lamont_23
setareh
kamuixkotori
gvraovc
zdrae
Michelle S
Janxels
WoodrowS
Mitesh Shah923
stinosky
Alvin Kuiper
James_Steven
drew_p
Samoyed
Only Title

brother14th's Q&A profile

  • Windows Forms WebBrowser instead of a FileView?

    Has anyone got any links to info on using a webBrowser control as a fileview control. If you're not sure what I mean then spawn a webbrowser control and .Navigate("C:\"). It is the same control used in Explorer/Internet Explorer right I mean it browses files perfectly. It just doesn't seem to be to easy to find the selected files... It's still not clear to me why you'd want to use WebBrowser and not OpenFileDialog. They both use the exact same shell ListView control to display the folder content. OpenFileDialog actually lets you find out what files were selected. ...Show All

  • Windows Forms Problem with control docking

    Hello, Here's my problem: 1. Create a new project 2. Place a tablControl on the form 3. Place a listView on a tabPage of the tabControl, Dock it, set BorderStyle to None and set its backColor to Red. 4. Set Padding property of the tabPage the listView was placed on (tabPage not tabControl) to 0 (All). 5. Run the project and you'll see it's not filling the tabPage completely from the left (it's ok from the right side). How can I fix that Your help is greatly appreciated. Hi, I follow your steps, and it's really hard to tell the difference from my eyes, therefore I used the magnifier application to have a check. There IS some space between the tabcontrol and tabpage. And I tend to think it's the res ...Show All

  • Visual Studio 2008 (Pre-release) Recommended books on WCF

    I have recently read Microsoft Windows Communication Foundation Hands on (Sams) by Craig McMurtry, Marc Mercuri and Nigel Watling. Unfortunately, this book documents WCF as it is in the beta edition. Some of the examples in the book is therefore not working as they should, since .NET 3.0 now is released. I have found updates on the examples after the CTP update. But there are still differences. So what I am looking for now is good books, alternavly good resources on the Internet for studying WCF in .NET 3.0. Thank you. You can start reading some chapters of Michele's book at www.thatindigogirl.com I've read the available chapters and although I feel a bit weird about having the labs before you get explain ...Show All

  • Visual C++ Creating a library

    In VS2005, I would like to create a C++/CLI library, such that, it could be reused by other C++/CLI projects. 1. Do I create the library as a ".lib" file If not, what are my options 2. Is it possible to share that library to a VB.NET (in VS2005) project If so, what type of output file should I be creating Yes, C++/CLI class library can contain native C++ classes. But they cannot be accessed directly by other .NET projects. You need to write C++/CLI wrapper classes for this. ...Show All

  • Visual C++ CWinThread derived Object and Menu trouble

    Hello I can't find my previous question so i'll re-ask it; I created few WinThread derived objects With which i send and receive info by posting messages. When i click on the menu While my threads are runing they seems to crash or to terminate their message processing. The thread being terminated not in a clean manner it causes my program to randomly behave. I use these this thread with multiple Windows and in a various range of way but only the menu affects their stability. Does anybody can lead me on the right path to overcome this problem Thanks a lot. After a bit more of thinking and testing. I've found the answer to my problem. As I thought the menu was interacting with my threads but not directly. The P ...Show All

  • SQL Server matrix: more than 1 column in static rowgroups ?

    Hello, I am working with a matrix report item and would like to display something like that : DataGroup1 DataGroup2 StaticText11 StaticText12 Data1 StaticText21 StaticText22 Data2 StaticText31 StaticText32 Data3 But I cannot find a simple way to have 2 columns of static text on the left. The only way I've found is inserting a table report item in the matrix cells, but it cannot be exported in Excel. The only samples I found do'nt have multiple colums in the static rowgroup. Is it possible Kind regards, Xavier Miller. Hi, I'll try to give an example. I'm using the following query on the AdventureWorks db: SELECT Production.Product.Name, Production.ProductSubca ...Show All

  • Visual Studio Data Break Problem

    I created an app like this: int _tmain( int argc, _TCHAR* argv[]) { float a,b,c; (breakpoint) c=0; a=.23; b=.45; c=a+b; (breakpoint) cout<< "Hi there!" ; return 0; } So when I hit the first break point, I set a data breakpoint when "&c" changes in the C language with 4 bytes (default). And yet it only stops on the cout line, not on the c=a+b line... What's wrong here I add my &c data breakpoint every time I start my application and hit the first breakpoint, at the line a=.23.  So it is enabled, right ...Show All

  • SQL Server Print Query

    Hello I wanna ask if there is a procedure that prints out a query result example : exec sp_print 'select * from test' Is there sthg like that Regards No, not at all. SQL Server does not provide and realtime interaction other than batches and return sets. All of the presentation would be your job using a programming language like C#, VB, Java, etc. ...Show All

  • Visual Studio Express Editions web browser

    Hi there I am creating a tabbed web browser and was wondering how you get 1 one control to work for about 2 or 3 web browser controls Also how do add a tab with a web browser control I still can not get it to work i used this code private void button1_Click( object sender, EventArgs e) { WebBrowser thiswebpage = GetCurrentWebBrowser(); thiswebpage.Navigate(textBox1.Text); } And it cam up with the following error Error 1 The name 'GetCurrentWebBrowser' does not exist in the current context ...Show All

  • Visual C# How to copy a char[] array to a string?

    Hi! anyone knows Is there a method or function in c# to copy to a char array to a string I want to implement it like this: // define somewhere; string str_A=""; char[] char_B = new char[16]; //value it in otherplace; char_B="fdfdfd"; str_A=char_B;//error thankyou! littleguru wrote: You can use the string constructor that takes a char array: char [] chars = new char [] { 'a' , 'b' , 'c' }; // Create a new string instance that takes the char array. string s = new string (chars); thankyou! but my string s is created in the front, and revalue later. ...Show All

  • Visual Basic 2005 IDE Service Pack/Patch ???

    Will there be a service pack or set of patches soon for the Visual Basic/Visual Studio IDE soon   I've been sending the bug reports everytime a bug/crash occurs in the IDE and I'm hoping these help. "While I understand that Microsoft staff may have felt the need to react to the terribly adverse publicity about VS 2005 product quality, and the ongoing pressure of trying to support such a bug infested product, making empty promises doesn't impress anybody. Please, give a firm date for a stable release of VS 2005 and let us know what will be fixed and what won't." What adverse publicity ...Show All

  • SQL Server xml validation date type error

    This is my first attempt to load some XML validated against a schema. The schema is more complicated than this but I've been able to narrow it down to show the problem. After I load the schema and create the table which are successful, I try to perform an insert. The insert fails with the following error. Any help would be appreciated. Msg 6926, Level 16, State 1, Line 1 XML Validation: Invalid simple type value: '2006-08-08'. Location: /*:myReport[1]/*:Criteria[1]/@*:myDate CREATE XML SCHEMA COLLECTION myrpt_xsd AS '< xml version="1.0" encoding="utf-8" > <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs=" http://www.w3.org/2001/XMLS ...Show All

  • SQL Server Super Join - is Merge Join the answer?

    Is there a way to do a super-table join ie two table join with no matching criteria I am pulling in a sheet from XL and joining to a table in SQLServer. The join should read something like “for every row in the sheet I need that row and a code from a table. 100 rows in the sheet merged with 10 codes from the table = 1000 result rows. This is the simple sql (no join on the tables): select 1.code, 2.rowdetail from tblcodes 1, tblelements 2 But how to do this in SSIS Thanks - Ken You can simulate a cross join by adding a common column (number of ways to do this, but a derived column will work) to both sources, and then performing a merge join on the common column. ...Show All

  • .NET Development How can I save dataset as an xml file???

    Hi I am trying to save the dataset as xml file (one row from the table).Saving xml is fine but it look like the following (the below is flat xml file without root nodes and child node) But I want the data to go under xml Root Node, child node, children node and so on. My question is How can I save the dataset as xml file with Root Node, child node, children node and so on Please help !!! Urgent!! < xml version="1.0" standalone="yes" > <MS> <SDLTID>1</SDLTID> <UTRN>303783jMJ</UTRN> <TransPropertyType>01</TransPropertyType> <TransInterestCreated>FP</TransInterestCreated> <TransEffectiveDate>2006-04-05</TransEffectiveDate> and so on..... ...Show All

  • SQL Server Database master key

    Hi For encytion in database, the following statement is correct I found it in msdn book. The database master key is not mandatory if you want to encrypt data. If you don't have a database master key, you will need to specify password encryption. You can use the following to create the certificate: create certificate <cert_name> encryption by password = '<your_password>' with subject = '<subject>' For symmetric keys, asymmetric keys, and certificates, you can always optionally specify and use a password for encryption instead of using the encryption hierarchy. Please check BOL for the proper syntax. They should be similar to " ENCRYPTION BY PASSWORD = '<password>' ". This is very useful ...Show All

©2008 Software Development Network