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

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

Yassi

Member List

Christian Schweizer
lenards
Tazz72
Nagarajan S
sanjeevm
tornin2
Krenshau75
sanaku
Lucia_fernadez
wdhough
Jethrob
Manuk
daverage
Puncr0c
Raoul_BennetH
bulfers
Deza
Ruprect8696
bobbins
ivanchain
Only Title

Yassi's Q&A profile

  • Windows Forms multicolumn dropdownlist in a gridview in VB 2005

    I need to create a autocomplete multicolumn dropdownlist/combo in a gridview in VB 2005. How can i accomplish that Alex please refer to this one. http://www.codeproject.com/vb/net/multicolumncombo.asp Here is another possible way, you construct the format of each item by yourself. A combo using as datasource a data view I create an SQl string with field 1 and then as second field the field 2 padded with blanks then the 3rd field You can make 10 blanks or so. strSel = "Select myfield1" + " + REPLICATE(' ',(100 -LEN(" + myfield2 + "))) + " + myField3 + " as " + myfield2 mySqlDA = New SqlClient.SqlDataAdapter(strSql, mySql ...Show All

  • Windows Forms ClickOnce "Machine Access" warning

    Hi, We have a clickonce web application in our Local Intranet Zone, signed by a certificate from GeoTrust, and has been given full trust pemissions. The only warning we see now is the "Machine Access" warning. Can anyone explain how I can get rid of this I want to be able to click on the application url w/o getting any sort or warnings. Thanks, Henry ...Show All

  • Visual Studio Crystal Report problem, Please dont move this post

    Dear All When i running report frmMain at first time, it take a while in opening, could you please show me any way that i start crystal report engine in advance, or any alternative. Thanks ...Show All

  • Visual Studio 2008 (Pre-release) The certificate 'CN=localhost' must have a private key that is capable of key exchange.The process must have access rights for

    Hi, My WCF service has following security settings:- at server side(web.config) :- < behaviors > < serviceBehaviors > < behavior name = " myBehaviour " > < serviceDebug includeExceptionDetailInFaults = " true " /> < serviceMetadata httpGetEnabled = " true " /> < serviceCredentials > < serviceCertificate findValue = " localhost " storeLocation = " LocalMachine " storeName = " My " x509FindType = " FindBySubjectName " /> </ serviceCredentials > </ behavior > </ serviceBehaviors > </ behaviors > < bindings > < wsHttpBinding > < ...Show All

  • SQL Server Merge: Records associated by a JOIN Filter not being sent to a subscriber

    Hi, I have a merge (SQL 2005 Standard -> Express) topolgoy which is having problems  The main problem is that the join filters don't seem to work for one area and I am hoping someone can help me with some troubleshooting advice There are 140+ tables in the topology but the ones causing  particular  pain are a parent child relationship where the child is actually a bridge/linking table to another table. Therefore although it is a parent child in the replication filters it is the reverse. i.e. the child has the paramterised filter on it and the parent is one level down joined by it's id.  There are other tables joined to this parent table but it stays at three levels deep.  The @join_unique_k ...Show All

  • SQL Server IID_IDBInitialize interface of sql mobile 2005 problem in VisualStudio2005

    Opening a connection to the database in Visual Studio 2005 and while closing the connection donot release the IID_IDBInitialize interface ,properties and not Uninitialising. Try to open database file using CFile to check existence. Works perfectly using sqlce2.0 & evc4.0 project. After upgrading the above project to Visual Studio 2005 Same CFile open method fails at run time But if close the connection completely i.e. close the IID_IDBInitialize interface also .Then it works perfectly in Visual Studio 2005. Is there any change in IID_IDBInitialize interface of sql mobile 2005 SQL Mobile *REALLY* commits the changes to DISK FILE at a default flush interval of 10 seconds. So, may be the database might have ...Show All

  • Audio and Video Development HDDVDValidator and Javascript

    I remember a procedure for installing the correct version of javascript (262 possibly 327) to work propperly with HDDVDValidator.exe. I have searched the forum on this topic, but it is not available. Does anyone know where a tutorial for installing javascript to work with HDDVDValidator.exe might be thanks I think if you have IE 7 installed, it should work fine. The following command will let you know if it is installed correctly: hddvdvalidator -d ...Show All

  • Windows Forms Adding Menu Separator to a ComboBox

    I would like to be able to add menu separator items to a ComboBox control. I'm guessing I'm going to have to create a derived class and override the OnPaint() method. Any suggestions on the best way to draw it Are there any existing examples of doing this - be great if I could avoid re-inventing the wheel! Many thanks in advance, John If you set the DrawMode of a ComboBox to OwnerDrawVariable, you can handle the MeasureItem and DrawItem events; you don't need to derive your own class. If you maintain a List of item indexes before which you want a separator, you can add some extra height to those items in the MeasureItem event, and draw the line in the DrawItem event, something like this: private ...Show All

  • SQL Server Conditional count

    Hello, I have a report, for which I want to do a conditional count. The table is something like this: ID Date Description 1 30-09-2000 10:36:06 Desc1 2 15-03-2000 11:45:11 Desc2 3 12-07-2005 16:21:10 Desc3 4 10-09-2006 11:12:18 Desc4 (...) I want to count only the entries where the Date field has the value 2000. The expressiona that I am using is the following one: =Sum(IIF(Fields!Date.Value.ToString().Contains("2000"),1,0)) It is giving me the right value but my problem is that the value apears repeated. Something like: CountResult 2 2 2 (...) What I want to have is just one value of the conditional count. Has ...Show All

  • Windows Forms controling multiple forms

    Hi, I would like to show a new form in the foreground (it stays in the foreground until closed) while the user still can control the background main form, just as when you type Ctrl+F under visual studio for example. Is there an appropriate technique for doing this ...Show All

  • Visual Studio 2008 (Pre-release) Returning an array of types defined with a data contract.

    I have a method that looks like: ReturnType[] A(RequestType request) The ReturnType is defined in the data contract. I am not sure how to define a message contract for an array of types defined with data contract. I think that is why I am getting the following error: The operation 'A' could not be loaded because it has a parameter or return type of type System.ServiceModel.Channels.Message or a type that has MessageContractAttribute and other parameters of different types. When using System.ServiceModel.Channels.Message or types with MessageContractAttribute, the method must not use any other types of parameters. The request type (RequestType) is defined in the service contract with [MessageContract] etc. I think what I need ...Show All

  • Visual Studio 2008 (Pre-release) Imaging problem in June CTP

    Bitmaps do not display in the Image control using the June CTP. I've seen some "DLL conflict" errors in my efforts to work out how my code needed to be changed from Beta 2. Seems similar to the thread http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=507038&SiteID=1 but the fix there does not work. Any ideas John Also, similar to: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=509017&SiteID=1 ...Show All

  • Visual C# Another form or an assembly?

    I am in the process of creating a larger piece of software, more in the design, than implementation. I am trying to find out the best practices. At the same time I am trying to figure out how visual studio can help me in these things. I have a main form, from where I run the other items of my project. Basically a form with buttons that load other forms. Now in my project, a have all these forms now. Would it be a better idea to make this into an assembly per form What I mean is that the main form just loads the correct assembly, when you click a button. Thanks in advance :) Sune P.S. Happy New Year everybody. IMHO, If you have a requirement like "plug-in" that will load/unload on/ ...Show All

  • Visual Studio 2008 (Pre-release) XAML Browser Application

    Hi, I have "traditional" .aspx page. This page has small IFRAME Element of size 20x20. I want this IFRAME element to invoke WPF browser application (.xbap url in src attribute). I assume this should not be a problem. Next, my .xbap in IFRAME at runtime generates a "Canvas" of size 400x400. My question is can I make this "Canvas" to cross boundries of IFRAME and render all over base page elements if not, is there any suggestion/workaround for this Thanks in advance. Ganesh Tonde Hi Chango, Thanks this could be the one solution. However, another question (may not be exactly related to this) is can one xbap application in a IFRAME be able to talk to another xb ...Show All

  • SQL Server using sp_helpuser from an ASP query in sql2005

    hello, i have created an ASP application that writes to a SQL 2005 database. We've recently upgraded to 2005; it was 2000 previously. i have a form that shows all the logins for the application. This is to allow administrators of the application to set special permissions for users. When I run a query using 'sp_helpuser' in SQL 2000, it shows all the users of the application. the query looks like this: strSQL = "sp_Helpuser" from there, I create a connection and open up a recordSet. In SQL2000, this works fine. I see all the users of the application. however, since we moved to SQL2005, this query produces unexpected results. It is like the database that it is reporting about is 'master', not the production database. ...Show All

©2008 Software Development Network