Software Development Network Logo
  • Windows Forms
  • Visual Studio
  • Windows Vista
  • Visual C#
  • Game Technologies
  • Smart Device
  • .NET Development
  • VS Team System
  • Visual C++
  • Architecture
  • VS Express Editions
  • Visual J#
  • Visual Basic
  • Visual FoxPro
  • SQL Server

Software Development Network >> Daisuke Niwa's Q&A profile

Daisuke Niwa

Member List

fsv
wexley
Natural_orange
Big_Show
Michel4CE
Ramesh Baliga
Sangeetha_AS
Mathew Clark
iSreenivasRao.K
Merima
Nic Oughton
rpisipati
soulfhd
Delly
chunkychanga
robbyd
Dhivya.S
YongLi
Terrell Plotzki
rebecca
Only Title

Daisuke Niwa's Q&A profile

  • Visual C# CallBack from a WIN 32 C++ dll

    Hello Everyone, My application is written under C#, but for some of the low level stuff I have to use C++ dll's and one of the dll require password before I can make some function call or if user entered wrong should ask again..... How can I implement something along those lines.... At first I can send the pasword, but if the password is wrong what is the way to get the password....If you want I can even post my procedure which asks for password..... Any help, suggestion highly appreciated... Thanks, Harsimrat   What were to happen if you were to return something other than S_OK, like ...Show All

  • SQL Server Can I write SQL 2000 databases with SQL Server 2005?

    My shared hosting service only supports SQL 2000. Thank you. No, you cannot.  What you can do is script your databases (make sure to put them into 8.0 compatibility mode to ensure that you don't use 9.0 features like VARCHAR(MAX)) and use the DDL and DML to populate your shared hosting database.   See:  http://www.karaszi.com/SQLServer/info_generate_script.asp -- Adam Machanic Pro SQL Server 2005, available now http://www..apress.com/book/bookDisplay.html bID=457 --     < sharnish@discussions.microsoft.com > wrote in message news:1175c6b5-bf9f-42d1-b8d2- ...Show All

  • Windows Forms Flickering effect

    Hi folks, I have a control with 100 controls inside.  The problem is the control takes too much time to render and a flickering effect is unacceptable. How can I avoid the flickering effect Thank you. Depending on the type of controls, you might be able to replace them with graphical objects drawn on a double-buffered custom control. ...Show All

  • Visual Basic Splash Screen... Delay?

    Hello, I made this splash screen and since I just started working on my project, the app takes less than two seconds to load and the time for splash screen... .....is not enough.... I have tried to put System.Threading.Thread.Sleep(5000) but where I put it in the code of the splash screen, then it waits 5 seconds before showing the splashscreen and I put it in the main program, then the splash screen is out THEN it waits 5 seconds after the splash screen is gone THEN it loads.... I am very lost... Thank You for any reply! Keehun Nam If you want to change the default splash screen display time, then in the project property's Applicat ...Show All

  • Visual Studio ToolbarZoom in reports

    Hi, I need to set the ToolbarZoom to "Page Width" when the report displays. Does anyone know how to do this either programatically or via style sheet settings Thanks, Mike ...Show All

  • Visual Studio Team System rsRenderingExtensionNotFound - An attempt has been made to use a rendering extension that is not registered for this report serv

    MS Staff, We've succesfully created our first Team Project, but a few of the portal's web parts (Builds, Quality indicators, etc.) are coming up with the error: "An attempt has been made to use a rendering extension that is not registered for this report server. (rsRenderingExtensionNotFound) " Any guidance on where to hunt down a resolution to this error Thanks, Tony Bierman HNI Corporation Bro, in html code, delete the value "format='Default'" on tag cc1:ReportViewer and then run the application. Its work believe me sorry for my bad english Be Cool Marino from Venezuela ...Show All

  • SQL Server Cross Row Referential Integrity

    In SS05 XML typed columns, is it possible to have cross row constraints and referential integrity Say I have a column with two schemas: Author and Book. Each has an ID. Each row in the table has only one author or book. Can I enforce that all Author ID are unique across all rows and that there is an author for every book Is it possible now If yes, how If no, is there a plan to add this feature in the future Is there any work around now I am appending the script to demonstrate what I want to achieve. Thanks in advance. ------------------------------------------------------- USE [pubs] GO SET ANSI_NULLS ON GO SET QUOTED_ID ...Show All

  • Visual Studio Tools for Office Problem with VBA and Excel

    Hello, I am trying to access SQL 2005 from Excel VBA. I can inform you that I get back to ADO after a very long time so please don't be upset if its that bad. Here is the code: Dim objConn As ADODB.Connection Private Sub Workbook_Open() Set objConn = New ADODB.Connection objConn.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\riz\;Extended Properties=""text;HDR=Yes;FMT=Delimited""" Dim Rs As ADODB.Recordset Set Rs = New ADODB.Recordset Rs.Open "select * from city" , objConn, adOpenKeyset, adLockOptimistic While Not Rs.EOF Debug.Print Rs.Fields(0) Rs.MoveNext Wend End Sub and It ...Show All

  • Visual Basic Freezing Header of the Data Grid.

    I want to freez the header of the DataGrid, I have manage to do this with the the CSS styles. but it is working only with the IE, but i want to work with Netscape as well. Hey pls if any body have an idea pls Help me As soon as possible. Can you explain a little further what you are trying to achieve here. Are we talking datagrid or datagridview control Are we developing using VB 2005/Express or VB 2003 Is this a windows or web based application I assume web based because we are talking CSS and IE/Netscape. ...Show All

  • Visual Basic Adding menu's at runtime problem

    Hi, I need someone to put me in the right direction as I'm not sure how to do this, I want to add menuitems to my windows form dynamically withh their relevent event handlers. The text for each menu is read from an XML file and I don't know how many menuitems will be added at any given time as it depends on the users choice. I'm using the toolstripmenuitems and I'm not sure if they react differently to the normal menuitems. Can someone help me on how to do this. Does anyone know of a good tutorial. thanks Chris Hi, You can take a look at this article http://msdn2.microsoft.com/en-us ...Show All

  • Windows Forms How do you get the row number from datagridview

    I added a datagridview to a form programmatically. One of the columns is a combobox and one of the columns (caseID) is not visible. All columns execpt for the combo box are text boxes. When I add a new row I need to know the number of that row so that I can set the caseID cell to its new value.  When I used a datagrid I was able to get the number with this syntax:       datagridx.currentRowIndex What is the correct syntax to get a  datagridview row number       datagridviewx.currentrow.index doesn't work. Thanks. Okay thanks ...Show All

  • .NET Development How to stop the network connection?

    Hello everybody, We have a requirement for stopping the network connection. I have tried to use the command "net stop "Network Connections"" but it doesn't work. Would anyone tell me how to realize it Thanks and Regards, Hawkins Hi Hawkins, I'm not sure I understand exactly what you want to do.  To clarify, are you trying to come up with a command that will disable your network adapter   If so, you may want to check out the devcon utility that is a commandline alternative to Device Manager: http://support.microsoft.com/default.aspx scid=kb;EN-US;Q311272 Net stop docs: http://www.microsoft.com/resources/docum ...Show All

  • Smart Device Development Problem deploying Compact Framework on WinCE 5.0 device with VS2005

    Hi I am getting problems installing Compact Framework on a WinCE 5.0 device. Deploying of the framework is done by Visual Studio 2005. The device is customized by the manufacturer and no other information about the device is available. The running OS is WinCE 5.0 on an Arm9 processor. Below is the Console-Output (the device itselfs has no display) and the log of framework installation. The Application on Win CE Emulator and on other devices works fine. Any suggestion Thanks in advance David Smart-Device Information: Customized WinCE 5.0 Memory 256MB AT91RM9200EK board Bus Speed 59897 kHz CP ...Show All

  • Windows Forms How can I sort Typed DataSet's DataTable before Binding to DataGridView?

    Here is my main question: How can I sort Typed DataSet's DataTable before Binding to DataGridView (.NET Framework v 2.0, VS 2005, SQL Server 2000, C#) I have a typed DataSet object instance(MyDs) with DataTable(MyDs.Table1), a DataGridView object(MyDgv) and a BindingSource object (MyBs) where MyBs.DataSource = MyDs and MyDgv.DataSource = MyBs MyDs contains a simple DataTable(which is "fill"ed through DataTable Adaptor object(MyDs.DA)) which is filled by the "Select" result of a stored procedure(MySp). "MySp" has one select statement and returns data ordered by my preference CREATE PROCEDURE M ...Show All

  • SQL Server Number of charts vary with respect to a parameter

    Hi I have a situation similar to this example - The X Axis represents the Date and the Y Axis represents the number of vehicles sold and the data i need to represent is the type of each vehicle(Line Graph). Hence there should be one graph for each Vehicle type. Is it possible to generate as many Chart Objects in the rdl file dynamically. I tried representing all the lines in a single chart but the since the sales value is varied as an example for a particular vehicle type it shall vary from 10000 to 1000000 and for another it varies from 10 to 100. So one vehicle type gets represented clearly and the other looks like a straight line. ...Show All

©2008 Software Development Network