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

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

pessi

Member List

Diego_f
Cheesle
Alba
ozhonetech
GregAbd
Vivek Varma
BIGuy
Tinomolloy
dowda
kumarangopi
SimonS_
Levas
just david
kennm
2162
TexMatt
TRACEYMS
DanBog
JasonAbe
J34
Only Title

pessi's Q&A profile

  • SQL Server General Questions about Sql Server

    I asked my tutor those questions and I want to ask you too Hi Sir I hope you doing fine I have some questions please; What is the diffrent between For Attach in Create Database Command and Sp_Attach_DB What is the diffrent between store db file in folder and store it raw partition e.g. C:\ What is the useful from TextImage_On in Create Table Command; it is order Sql Server to stor the photo in diffrent table's file Can you give us a basic steps to insert *.JPG photo in Sql Server If I have this statement: Create Table xTable ( UserId Int , UserName VarChar ( 3 ) , Email VarChar ( 10 ) Default ( UserId + '_' + UserName ) ) ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. i need help

    when i press F5 after coding my model, this is what it says Could not find a Direct3D device that has a Direct3D9-level driver and supports pixel shader 1.1 or greater. does an experienced person know what this means Sounds like either you need to download and install the latest DirectX, download and install the latest video card drivers for your video card, or your video card is simply too old... What kind of video card do you have ...Show All

  • Visual Studio Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack

    I'm new to this forum. I hope you can help me. I'm using the Enterprise edition of VS 2005. When I debug my project an exception is raised - 'Unable to evaluate expression because the code is optimized or a native frame is on top of the call stack'. I can't find anything about this on-line. I suspect this message is hiding the true exception. Does anyone know what this message means Regards, Andy Ham Hello, I am having a similar problem except I am attempting to debug a SQL server 2005 c# assembly remotely. If I try to set the attach process parameters to use anything but the default "Automatic: T-SQL code, Managed code", then I cannot issue a "Detach All" from withi ...Show All

  • SharePoint Products and Technologies Auto Forward User to 'My Site'

    Dear all, How to auto forward user to their My Site. Currently when user login, they will see the master Sharepoint Page. Thank you I would agree.. but it is what he was asking for :-) I would personally train them to click the "My Site" link after they have seen what's new for them on the home page :-) ...Show All

  • .NET Development strange problem about the email encoding

    i got a web application. if you register there, system will sent a mail to your email. i use Jmail to complete my email function, and it works well. but sometimes, some user will report me that they recieved clobber mail. i checked these mail and found that there is Base64 encoding. so i cannot locate the problem, the error of my Application or JMail, or SMTP server. or email client please help me thanks and best regards Hi, Your thread seems to be more appropriate here and hope you find satisfactory answers. Thank you for understanding ...Show All

  • Visual C# how can I call a procedure stored in a form from a different form?

    I have this procedure in patient_dashborad: public void get_visits() { this .Cursor = Cursors .WaitCursor; data_table = new DataTable (); sql_connection = new SqlConnection ( "Data Source=.\\SQLEXPRESS;initial catalog=shefa;integrated security=true" ); sql_command = new SqlCommand ( "sp_get_patient_visits" , sql_connection); sql_command.CommandType = CommandType .StoredProcedure; sql_command.Parameters.Add( "@file_no" , SqlDbType .Int).Value = file_no; sql_adapter = new SqlDataAdapter (sql_command); sql_adapter.Fill(data_table); dataVisits.DataSource = data_table; dataVisits.Columns[ "visit_id" ].HeaderText = "insurance id" ; dataVisits.Columns[ "visit_id" ].DefaultCellStyle.A ...Show All

  • Windows Forms Question about docking a control in a panel

    I created a search form in a panel, to be placed in forms: A textbox and a button on top, and a datagridview docked to bottom. I add this panel to my form, and set dock to fill. Then the problem occurs: If the form i add this panel to is higher than the panel, the datagridview will just remain the same size, and stay at the bottom, while the textbox and the button is at top, making a big empty space in the middle. Like this: [TEXTBOX] [BUTTON] ----------------------------- | Dataridview area | ----------------------------- How can i make the datagrid automaticly adjust it's own size, to fill the empty space What i basicly want is to spike the top of the datagrid to right underneith the textbox and button, and whenever ...Show All

  • Windows Live Developer Forums Problem - data undefined

    I cant get the gadget to work. I did what the instructions said but cant get it to work http://www.izonnet.se/msntest.php/ IZON, There's a typo in our sample code! Thanks for reporting it! The expression document.getElementById("ContactGadgetSite") should be document.getElementById("Contact s GadgetSite"). Note the "s" in the middle. The string has to match the ID of the DIV element defined earlier. Give that a try, should work much better. -Danny ...Show All

  • Windows Forms Problem with vertical scrollbar in virtual mode

    I encountered a very disturbing error. First the initial situation: The application displays data in a datagridgrid. The amount of this data can vary from 40 to 14000 datasets depending on the users selections. The data itself has to be processed in very specific manners so that I have to use the virtual mode. The height of the rows depends on the data in the row. So there are different heights in the datagrid. The problem: The display of the data in the datagrid is entirely correct and runs indeed very smoothly. As soon as the amount of rows in the datagrid changes from somewhat under 40 to over 3000 the vertical scrollbar of the datagrid gets incorrect. It does not allow to scroll to the last 10 to 50 datasets. If the user scrolls to the ...Show All

  • .NET Development .NET 2.0 WSDL.EXE UTILITY NON-STANDARD - WILL NOT COMPILE

    can anyone please assist me with microsoft's WSDL.EXE utility from .NET 2.0 SDK it won't compile due to the following console log. i have seen the so-called microsoft workaround but it doesn't seem to work. http://support.microsoft.com/default.aspx scid=kb;en-us;820122 any ideas anyone bruce. C:\aami\new wsdl>wsdl pnet.wsdl Microsoft (R) Web Services Description Language Utility [Microsoft (R) .NET Framework, Version 2.0.50727.42] Copyright (C) Microsoft Corporation. All rights reserved. Error: Unable to import binding 'PNETSoapBinding' from namespace 'http://webserv ice.pnet.aami.com.au'. - Unable to import operation 'deleteMail'. - The element, deleteMailResponse, from namespace, http://webservice.pnet.aami .com.au, was ...Show All

  • SQL Server Calling .Net Assembly

    I create a KPI with the following expression: ([Measures].[TDV Result], StrToMember ( "[TDV Result Date].[Year - Quarter - Month - Date] .[Month].&[" + MdxFunctions.MdxFunctions.Timeframe.GetCurrentMonth() + "]" ), [Entities].[EntityType].[Site], [TDVs].[Parameter - Material].&[Coal]) MdxFunctions.MdxFunctions.Timeframe.GetCurrentMonth() is a .Net assembly and returns a string like 2007-02-01. I deploy and look at the Browser View but there is an error stating that "The '2007-02-01' string cannont be converted to the date type". How do I convert the date string I'm not entirely sure, but if I had to guess I would try adding the time componen ...Show All

  • SQL Server MSDE & SQL Express use?

    I know this may have been asked in the past, and I've tried to search the forum, but didn't find any clear responses. The question is about MSDE and SQL Express being "Free". Can MSDE or SQL Server express be used for the backend DB for an application for a private (for profit) company A COTS that we are planning to puchase can work with either commercial version of SQL server or MSDE / Express. Any input would be appreciated. Thank you, Hi, I don’t know what COTS means, but they are both free for use. You can use them within your applications. There are limitations on the free versions which you might encounter in the future. But its quite easy to "migrate" from the free vers ...Show All

  • Visual Studio 2008 (Pre-release) June CTP big problems with GridViewColumn controls

    I'm having a big, big problem with new behavior that was introduced in the June CTP. The problem has to do with the automatic sizing of controls that are placed in GridViewColumns. I have working code (at least working prior to the June CTP) that uses a FrameworkElementFactory and DataTemplate that is added to the CellTemplate property of a GridViewColumn. This allows me to change the control used within a column. I have a number of custom controls that rely on the control being resized when the column is resized. The problem is that controls added in this way are no longer resized to the full available column size. To illustrate this problem, I modified the code for the standard "ListView that uses a GridView Sample" . I modif ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Normals - Crazy mirrored artifacts

    Hi, hmm I have once more a little problem, i have a generated mesh using a vertex- and indexbuffer. Therefor i need to calculate normals for the lightning. So i found the need the cross-product of two sides of my triangle. With this info and some sample code I tried this: // Calculate normals for (i = 0; i < indices.Length; i += 3) { Vector3 vert0 = vertices[indices ].Position; Vector3 vert1 = vertices[indices[i + 1]].Position; Vector3 vert2 = vertices[indices[i + 2]].Position; Vector3 normal = Vector3.Normalize(Vector3.Cross(vert2 - vert0, vert1 - vert0)); vertices[indices ].Normal = normal; vertices[indices[i + 1]].Normal = normal; vertices[indices[i + 2]].Normal = normal; } for (int vert = 0; vert < vertices.Le ...Show All

  • Visual Studio Express Editions Need Help writing a program for cosine

    I am in a computer course where we have to calculate an angle in radians and somehow use a factorial, taylor series. Were supposed to use a while or do while loop. heres what our debug should look like Enter number .23 Enter the number of significant digits 5 The cosine of 0.23 is 0.97367 Thanks for any help, Ben Hi, The series is:>> cos(x)=1 - (x^2) / x! + (x^4)/x! - (x^6)/x! .... Series can be seen on this site.>> http://en.wikipedia.org/wiki/Cosine The power and the factorial keep increasing by 2.  I've used a boolean variable named toggle to toggle between True and False in the loop. This has the effect of flipping between  doing an addition or doing a subtract ...Show All

©2008 Software Development Network