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

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

telek

Member List

Shailendra Naomi
mjorg
vadoriu
Justin Lindh
Albert Pascual
heri
carl64
n platt
usman_kec
S. Ali Tokmen
bluemoon2181
Shaunkerr
John Rager
Flemming Wagner
RussellReed
nume
vradovic
Autox
XWreckage
SK1000
Only Title

telek's Q&A profile

  • Visual C++ Problem converting the most basic ATL project from VS6 to VS2003

    I recently ran a batch file intended to set up my VS2003 environment. This batch file was distributed my by employer, but who knows if there are problems. I tried the following test: I created a new ATL project in VS6. I immediately saved the project and closed the IDE. I opened the project in VS2003 and converted it. I immediately attempted to compile and got the following error message: anothertest command line error MIDL1001 : cannot open input file oaidl.idl Does anyone know what might be happening Would reinstallation of VS2003 help I also tried to create a brand new ATL project in VS2003. Without changing the code or any settings, I ...Show All

  • .NET Development source code protection options

    Hi all, Could somebody give me any resources that discuss options on how to protect source code from any efforts to reverse engineer it from the built executable I've read about the Dotfuscator utility that comes with the visual studio 2005 beta... I'd like to learn about how to encrypt the exe, and any other techniques out there. Can anybody help me Thanks, cope22 Hey try my software http://www.pelock.com it's software copy protection (so called exe-protector) and license key system (with strong rsa2048 bit key encryption)! If you would like to ask about *anything* about it use http://www.pelock.com ...Show All

  • SQL Server Row_Number() fails to return anything

    I am using SQLExpress and want to do some custom paging with a grid but can not get the sproc to produce any results. I don't get any error just a resultset of 0 rows whenever I include the row_number function. Sample Table : refID int identity increments by 1 refSubject nvarchar(100) refBody nText Sample sproc that works create proc sp_RefListing as select refid , refsubject from myTable Sample Sproc that doesn't work : with OrderedRefList as (Select refid ,refsubject ,row_number() OVER (order by refsubject) as rownum from myTable) select refid ,refsubject ,rownum from OrderedRefList where row ...Show All

  • Windows Forms Custom Control can't be used

    Hi, I've developed a simple control by inheriting from ComboBox. eg public class CatKeyword : ComboBox {} There's hardly any extra code to it. I've done it such that the new Custom Control appears on the 'My App Components' list on the toolbox - just like a real comboBox! It worked when I first created it. But I went to use it again today and when I place it on the form it says "Failed to load toolbox item 'CatKeyword'. It will be removed from the Toolbox" And it removes it from the Toolbox only to put it back every time I do a build. Why can't it find my control do you think ughhhh .... to ...Show All

  • Visual Studio Tools for Office Export / Save Workbook without Customization

    Hi all, I used VSTO and created a workbook so that users can inject data via action pane, but I now want to enable my users to export nothing just 'data' to a new file. I noticed that the "Save As" function will copy the 'customization' to the new file too, that's what I try to avoid, as I just want to enable users to export or save as (I don't know how to call this process) the processed worksheet to a new workbook. Otherwise, a customization error will be thrown. Thanks, Have a look at the thread about RemoveCustomization: http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=434488&S ...Show All

  • SQL Server Modifying the Initial Size of a database

    Hello everyone, I'm having a problem shrinking one of my tempdb data files.  When I initially installed SQL 2005, the data file for tempdb was 6GB.  I'm not sure why it created such a large file, I don't remember seeing a setting in the setup to change it either.  Can anyone give an explanation for the file being so large Anyway, after noticing this, I created several other data files and shrunk the main data file.  The problem now is whenever the service is restarted, it recreates that file as 6GB. Is there any way I can get that to remain the shrunk size after the service is restarted   I just need to ge ...Show All

  • Visual J# click n' drag: easy question (i hope)

    Should be an easy question: I've seen in several programs, that you can click anywhere in a form window to drag the form around, how do I set that up Hi, Here is the J# equivalent ... private final int WM_NCLBUTTONDOWN = 0xA1; private final int HTCAPTION = 0x2; /** @attribute DllImport( "user32.dll" ) */ public static native boolean ReleaseCapture(); /** @attribute DllImport("user32.dll" ) */ public static native int SendMessage( IntPtr hWnd, int Msg, int wParam, int lParam ); private void Form1_MouseDown( Object sender, MouseEventArgs e ) {   &nbs ...Show All

  • Windows Forms active x

    I have been trying to download Mcafree and I get active x not enabled ,,I enable it in I net options/ sec. and still nothing Hi, Please look through your browser settings. FYI, these forums are meant for programming issues related to Winforms only. Thank you, Bhanu. ...Show All

  • SQL Server Uploading images to SQL Express

    Hi, Could someone help me on how I can store images into my SQL Table I'm using "Image" as Column Name and I use VWD 2005 Express. I saw a lot of C# examples, but not VB.NET examples. Please help !!!!! Bart In VB6 I use Dim F As Long, Data() As Byte, FileSize As Long Open sFilename For Binary As #F                     FileSize = LOF(F) Data = InputB(FileSize, F) Close #F              rs2.Open "select * from catalog where catalog.[catalog-no]='123'", cn, adOpenKeyset, adLockOptimi ...Show All

  • Visual Studio ReportViewer and IIS

    I Created wepapplication where use ReportViewer (on windows XP, IIS5). ReportPage: DataSet ds = new DataSet(); tdRptViewer.ID = "tdRptViewer"; form1.Controls.Add(tdRptViewer); tdRptViewer.Focus(); form1.Controls.Add(reportViewer); Form.Controls.Add(objDataSource); reportViewer.ProcessingMode = ProcessingMode.Local; reportViewer.LocalReport.ReportPath = Request.PhysicalApplicationPath+"Report2.rdlc"; reportViewer.Width = Unit.Percentage(100); reportViewer.Height = 700; reportViewer.LocalReport.DataSources.Add(new ReportDataSource("Report", LoadSalesData())); ...Show All

  • SQL Server Package hangs on parallel "upserts"

    I have data flow tasks, one which validates the import file and one which processes the import file if the validation passed. The validation runs and pushes the three row types to three different recordset destinations. When I enter the processing data flow task, I have three parallel trees processing each recordset saved in the previous task. I'm using a script component to generate the rows which are then sorted and merged with the production database to find existing records. Based on this, I split to an OLE DB command (running an UPDATE command) or OLE DB destination (to simply insert the records.) In this particular case, all records ar ...Show All

  • Visual C++ Windows 64 Bit

    Hi I am Compiling an application with 64 configuration. I am unable to run this application. Dependency Walker is giving this error Error: Modules with different CPU types were found. and when i run this application it shows a message application configuration incorrect. What i am missing, i check everything. please tell me what i am missing Regards Manoj Jangid Additionally make sure you are linking only to 64-bit libs. And that you are both on a 64-bit machine, and using a 64-bit version of Windows. ...Show All

  • .NET Development Loading external assemblies that are not strongly named

    Hi,   I have a project which references an assembly that is external to the application (it is not in the bin directory of the project or in a path relative to the application).     At runtime I use reflection to load the assembly from a supplied path.   The exception ‘System.IO.FileNotFoundException’ gets thrown.     The external assembly is not strongly named and so I cannot use the ‘codebase’ tag in the configuration file to specify the path.     Is what I am trying to do impossible   Any help will be greatly appreciated. Rakesh ...Show All

  • Visual Studio Express Editions Updating a Typed Table

    I have a form which has a combobox and a collection of textboxes. The combobox is bound to one table and the textboxes are bound to another. However the value displayed by the combobox is also a field in the table to which the text boxes are bound. I have not been able to find a satisfactory way of updating this latter table after setting the required values on the form. The only way I have been able to do it is to put a dummy textbox onto the form and to bind this textbox to the table to which the other textboxes are bound and to set the text of the dummy textbox to a value which corresponds to the displayed value of the combobox in the ...Show All

  • Visual Studio Team System (Work Item) FileBrowse dialog launched from AttachemtsControl customizable?

    I would like to set a file extension to the "Files of type" combo box in the File Browse dialog launched from the AttachemtsControl. Is it possible It is empty by default. No, it is not possible to set the file extention. Why do you want to set it Are you trying to limit attachment types for a workitem type definition Thanks Naren ...Show All

©2008 Software Development Network