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

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

kingmissel

Member List

spepperchin
Vivek Natani
MaxHeadCase
MyoZaw
impish
Dan Mikkelsen
creaturita
James C. Papp
Ggreg
Blipwort
rabbitoh
compaks
OniShiro
John David
iainatk
Scoutn
Gianluca Colucci
briendjf
georgeob
R.Tutus
Only Title

kingmissel's Q&A profile

  • Visual Basic app.config settings

    I have a solution made up of 2 projects; ProjA is a windows forms app, and ProjB is a Data Access DLL. ProjA references ProjB and uses methods and objects from ProjB to get it's data. The connection information for ProjB is defined in an app.config file (within ProjB). When running within VS2005 everything work fine (i.e changes to the settings are reflected in the connection string built and used by ProjB). I now want to do some testing of the application on another machine so have done a build of the solution. The ProjA\bin\release folder contains most of the files that I would expect (including the ProjB.DLL), but there is no ProjB.DLL.config file. However the application runs fine on the other computer! - Where is it getting t ...Show All

  • Visual Basic pop-up menu on Crystal Report

    Hi Everybody! How do I build a pop-up menu with Crystal Reports Thanks, Serge ...Show All

  • Visual Studio Team System Online Command Integration with VS IDE

    I work for an offshore software development company, so most developers are not in the main office, but in an office which is in another country. So we integrate to Team Foundation Server over the internet, using TFS SP1. We suffer of frequent disconnections from Internet, which is a common issue in this country, so there are plenty of times when we unexpectedly disconnect from Internet, frequently while we are working in Visual Studio 2005. We found the TFPT.exe Online command very useful to come back online when we made changes in offline mode, but we need integration with the VS IDE, so this kind of disconnections become transparent to the developers. We don't want to worry from disconnections while we are inside or outside the VS ID ...Show All

  • Windows Forms help in coding a game application

    Hi all, I started writing a small game application.which contains 16 buttons which are dynamically created.and set text to that buttons randomly taken from 1-15 and 1 button text set to " " (nothing) so the player has to move the adjacent buttons to the empty button and final result would be the sorting order from 1-15 with empty button either first or last. in my application i wrote only one button click to all the 16 buttons. and now i'm unable to handle how to get the previous button clicked as i want to compare with the button names. I wil give the code how i created the buttons and the event. Help me to develop this application as well as my programming skills. Thank you -regards GRK code>>> ...Show All

  • Visual Basic reading binary data from varbinary(max)

    I used to do this with an Image data type (sql2000) and an array of bytes. Worked great. Now , in sql2005/vb2005 we are supposed to use the varBinary(max) type . Fine. Anyone know how to get it to work the reader code is straight from the help docs in the section: "Working with large value types" I'm trying to use some of the new functionality but I can't get anything to work well yet with this datatype. Error is on this line at design time: Dim binaryData() As Byte = CByte(reader.GetValue(8)) .....This is supposed to read the 9th column into an array of bytes..... "***value of type Byte cannot be converted to 1-dimensional array of byte***" Here's the code: blob is a varBinary(max) column Private Sub GetImageF ...Show All

  • Visual Basic showing a picture on a form and storing in database

    Hi all, I have created a simple form with several fields bound to a basic SQL database. I'm using Visual Basic Express and SQL Express. The normal data fields are no problem but I can't figure out how to store a photo in the database and then to show it on the form as part of the record. Any help would be appreciated! Thanks Dan It is recommended that you don't store the image in the database itself but to copy the image to a server and to store the reference to where the image ihas been copied to. ...Show All

  • Visual C++ static const member variable initialization

    Hi, I want to initialize a member variable of a class by calling RegisterWindowMessage and i want to keep this variable as static so that this variable is initialized only once during the execution of the program. When i declare the variable as static, i am getting an error which says that only const static variables can be initialized within a class. When i make the variable as static const, i get the following error - Error 11 error C2057: expected constant expression I think this is because the value i am assigning to the variable is the value which the function RegisterWindowMessage will return and this will not be a const value. Could anyone please suggest a way out of this. Thanks in Anticipation, With regards, ...Show All

  • Microsoft ISV Community Center Forums MS Access Forms Filter

    Hello Gentlemen, I am a novice in databases. Right now I am trying to make a small database that can search out result from the table I have already made. My question is can I place command buttons inside the form that have functions like -Filter By Form -Apply Filter in MS Access Toolbars Please note that I dont want to use the existing toolbar I hope I will get an amicable responce With Best Regards yqureshi80 You sure can. How to implement it depends on how your form displays the data. Presuming that your form's data is populated with a simple RecordSet opened with an SQL select query, all you should need to do is: - close the existing recordset (not the form!) - open a new recordset using the ...Show All

  • Visual Studio Tools for Office Outlook Sennt Items....

    Hey, I am using outlook 2003 with an Imap connection.I have setup a rule to move the sent messages from my personal folder to teh sent items folder on teh IMAP server.Now i am asking a different thing.Is it possible that outlook should ask me to which folder I wish to store the message after sending a message.Pls help me as my previous mail client pegasus had this feature and the users are askin for this feature. Ajay Hello Kris, this is just a fast simple sample on what you can do. Just hacked it into Outlook VBA (Start Outlook and press Alt+F11) Doubleclick ThisOutlookSession and past in this code: Public WithEvents m_monitoredFolderItems As items Private Sub Application_Startup() &nb ...Show All

  • Windows Live Developer Forums Invoke exe from Windows Service

    I want to invoke an exe from Windows Service. I had tried using system.diagnostics.process.start but it is not woking. Is that any idea..to do this......... Please help me...... Thanks in Advance... Regards, C.Babu. Thanx for the information kymaita.Is any alternate soln have you encountered ...Show All

  • .NET Development read only part of XML file

    I need to set a lot of data values in a unit converter WinForm project, I want to store every unit information in XML document file, that means hundreds of elements. my Q is how can I read part of this file, so every time the user select a new clasification of units, only relative data is read I dont wnt to read a whole file in order to extract a few nodes. thanks in advance for your help, Edward I think that from meomery you can only read the complete file in then change and re write the complete file. You might want to assign the xml file to a dataset and perform your searches and such on the dataset... then update the file when changes are made. ...Show All

  • Windows Forms grid failing when datasource is updated

    I am getting a big red X across the interface and no cells nor data is displayed. This does not happen in the IDE on the released version of my exe. Any ideas   ************** Exception Text ************** System.NullReferenceException: Object reference not set to an instance of an object. at System.Windows.Forms.DataGridViewCell.GetInheritedStyle(DataGridViewCellStyle inheritedCellStyle, Int32 rowIndex, Boolean includeColors) at System.Windows.Forms.DataGridViewRow.PaintCells(Graphics graphics, Rectangle clipBounds, Rectangle rowBounds, Int32 rowIndex, DataGridViewElementStates rowState, Boolean isFirstDisplayedRow, Boolean isLastVisibleRow, DataGridViewPaintParts paintParts) at System.Windows.Forms.DataGrid ...Show All

  • SQL Server Starting SQL job from a Bat file

    I have the need to start the execution of an existing SQL Server 2005 Agent job from a bat file. The job has dependencies that are impossible to predict, but the dependent environment does have the ability to run bat files from the command line environment. I'm hoping there is a way to write a command line that starts an existing SQL job on the local server. Any ideas Mmm... Using a batch file you can to execute a T-SQL query to start the job, using the osql.exe utility: osql -E -Q "msdb.dbo.sp_start_job N' MyJob '" But i prefers to use the good scripting approach. Then you have a best control. Save this script as a .vbs file, and execute it: Dim oJob, oServer ' Creates the S ...Show All

  • Visual Studio Express Editions Joining code

    Is it possible to make a program with joined code (Like joining a little bit of VB and a little C#) Ohhh How do you make DLL's That too is easy start a new project of the type Class library. Add your code. Wrap it in a Namespace and then build it. Be aware that a dll is a slightly different environment than a process and does not have accesses to all classes that an executable does. ...Show All

  • Visual C++ Default argument and Virtual Function..........

    why while run time polymorphism the default value of the base is taken not of derived.. class base { public: virtual function(int i, int j = 78) { cout<<i<<" "<<j; } }; class derived:public base { public: function(int i, int j = 55) { cout<<i<<" "<<j; } }; int main() { derived d; base *b = &d; b->function(12); } AND THE OUTPUT IS 12 78 and i think it shuld print 12 55 Because you did not declare the function as virtual in the derived class. Therefore the derived class is not overriding the base class's implementation of it. So when you call it with a "base" level reference y ...Show All

©2008 Software Development Network