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

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

SimonS_

Member List

PawanSingh
Chuck Turner
vtortola
Ali Katouzian
Idanle
Catalin Zima
Sai A
StephanieR
todd_bulky
hommer
fiaolle
umuayo
mta37
ChandraDevaraj
Jeremy Jarrell
Marcel Heeremans
Pr09aN1g0d
jaackov
simdoc
Alexander Petukhov
Only Title

SimonS_'s Q&A profile

  • Visual Studio Tools for Office Customization assembly could not be loaded, please help!

    I created a doc solution and website and publish the website and the solution on my computer. it works fine. i created a copy of the web and solution combined it 1 directory "c:\inetpub\website\doc" modified the manifest, .net security etc. and publish the website on my computer- it works fine also. The problem when i transfered the combined files to the server and published it. modified the monifest to point to the new location, set .net security policy. I keep getting this error customization cannot be loaded, the application manifest might be corrupted. im stuck on this for almost 2 days..... error info he supplied application manifest is not valid. ************** Exception Text ************** Microsoft ...Show All

  • Windows Forms Input String was not in a correct format

    Hi I am a new bie to the c# programing . i am getting this error at the time of form_load. where when i run the form it works properly.i have come to the conclusion that the problem is at the line cmd.Parameters["@vendorid"].Value=int.Parse(cmbSrchVendor.SelectedValue.ToString()); Problem is that , this problem only exists at the time of form_load. required help and a solution ASAP. private void cmbSrchVendor_SelectedIndexChanged(object sender, System.EventArgs e) {SqlConnection con; try { con=new SqlConnection("connetion string"); con.Open(); //int id = Convert.ToInt32(cmbSrchVendor.SelectedValue.ToString.SelectedValue); // string str="select * from tblvendor where (vend ...Show All

  • Visual Studio Tools for Office Changing ReplyTO field automatically

    I'm currently developing an internal web app that uses a mail-to tag to send an email.  But I have to be able to change the reply-to field, or from address in the email automatically.  I'm pretty sure there is no way to do that through a mailto tag, but could somebody please let me know one way or the other if they know. Also since the mailto probably won't be sufficient to do what we need it to do. . . could somebody give me a recommendation as to how I could make this happen ie:  Bill clicks "Send EMAIL" but when he sends the email, it needs to be from support@acompany.com , not bill@aCompany.com . . . and it must be sent through outlook. could I use vsto to do this ...Show All

  • Visual Basic midb and ascb. Ascii To Byte To Ascii To String To Ascii . Byte To String To Byte .

    Hi, I'm new to VB 2005. I looking to fix an upgrade issue. I need to convert a string to bytes and then the bytes to Ascii. ie it would look like this in VB 6 buffer(Cnt + i) = AscB(MidB(StrConv(UniStr, vbFromUnicode), i + 1, 1)) I can convert the StrConv(UniStr, vbFromUnicode) = = System.Text.Encoding.Unicode.GetBytes(UniStr) The MidB i sthe problem for me i guess as i will be able to convert the individual bytes to ascii. Any help will be appreciated Hi, Use this instead of MID>> 'Returns quick brown fox as counting starts from zero with subString for the index. ' Here 4 is the start position and 15 is the length. MsgBox("The quick brown fox jumps over the ...Show All

  • SQL Server Delete File Based on Criteria

    Hi, I want to delete all files in a folder where creation date is an year older. I created a For Each Loop container to go over the whole folder and then execute the following Script Task Dim FileArchive As Int16 Dim dteArchive As Date Dim FilePath As String FileArchive = CType (Dts.Variables( "FileArchive" ).Value, Int16) ' One Year FileArchive = 365 dteArchive = DateAdd( "d" , -FileArchive, Now.Date) FilePath = Dts.Variables( "FilePath" ).Value.ToString If File.GetCreationTime(FilePath) <= dteArchive Then Try File.Delete(FilePath) Catch ex As Exception 'Do Nothing End Try End If Dts.TaskResult = Dts.Results.Success Is ther ...Show All

  • Visual Studio Express Editions Clipboard Help

    Hello all, good morning :) need some help with this one please: I have 6 textboxes on my form. I need to assign each textbox with a shorcut key (eg. alt + 1, atl+2 etc..) and then copy the contents to the clipboard. I take it that I would have to put the code in a timer event & would the shorcut keys still work even if the form is not displayed on the screen Thanks, Stuart Hi there. I've been thinking and thinking about what you are proposing about taking in input when the form has no focus and I think it's an awful idea. I'm not really huge on standardization but the potential problems go beyond simply standards but cross proper system functioning. The api routine you ...Show All

  • SQL Server Stored Proc. With Multiple Database Reads

    I am trying to write stored procedures that deny table-level read/write to the sproc_user login. Here is what I want to do: Make a sproc_user login and allow public access to a database called KM. Within KM database, write stored procedures that query and update tables that may exist on either of three databases: KM, QM, or REP. However, I can get the stored procedure to read/write to tables on KM database, where sproc exists, as long as I grant execute rights to the login. However, how do I allow my stored procedures to SELECT, INSERT, and UPDATE to tables within QM and REP You can provide your sproc_user login permissions to execute the appropriate stored procedures and functions, as well as NO ...Show All

  • Visual Studio Breakpoint will not currently be hit. No symbols loaded for this document.

    I have been 'developing' with Visual Studio 2005 for about 3 weeks now - primarily .NET class libraries developed with VB. I am coming from VB6, although I did a lot of development with Visual C++ several years ago, so I am still trying to come to terms with the debugger. I have read many threads posted by people who are having a problem with breakpoints, specifically with the message in the subject line above. There have been many suggestions on how to fix this problem. Sometimes these suggestions work, sometimes they do not. Most of the suggestions involve deleting DLL and PDB files and rebuilding, or restarting Visual Studio. None of them suggest any problem with something the developer has done or any problem with the configuration of ...Show All

  • Windows Forms Listing filenames in a combobox

    How can I populate a combobox with filenames matching a specified wildcard pattern found in a given directory Another way give you more control and information DirectoryInfo di = new DirectoryInfo ( @"C:\Windows" ); FileInfo [] files = di.GetFiles( "*.exe" ); comboBox1.DataSource = files;   ...Show All

  • SQL Server Deploying database with application

    i written an application in vs2005 using vb; it connects to a database on the server. how do i publish/distribute this application with the database so that when the client installs the application it will also create the whole database on its machine... or have it create the database on a server asking the client to specify the server path, name... etc i am sure there is a simple way ot do this but i am new ot this and have never done this before.. appreciate all the help... thanks Here is an excellent resource detailing unattended installations of SQL Server along with applications. SQL Server 2005 UnAttended Installations http://www.devx.com/dbzone/Article/31648 ...Show All

  • SQL Server no rows transfered

    Hello I have to connect to multiple server to get the various information. I am now passed the hardle of connecting with various server and now the problem I have package with using OLEDB source and running following query declare @CfgServer table (cfgName nvarchar(100), Minimum nvarchar(100), Maximum nvarchar(100), Config_Value nvarchar(100), Run_Value nvarchar(100) ) Insert Into @CfgServer EXEC sp_configure select cfgName,Minimum,Maximum,Config_Value,Run_Value,@@Servername svrname from @CfgServer Since I have to insert servername also beside config info to the table that is why I am using table variable Now everything runs fine with no errors but there is no rows copied to destination table. Please help. I ...Show All

  • .NET Development How do you get the number of CPUs?

    How do you get the number of CPUs or CPU cores present on the system your .NET application is running on I guess it's either in the System.Diagnostics or System.Threading namespaces. I'm interested in dividing a task (consisting of several unconnected problems) between multiple threads so that the CPU or core count can be exploited for better performance. The FxCop code analysis tool's number of threads defaults to the number of CPUs (or cores). ...Show All

  • Visual Studio Express Editions Any tutorials for DataBase application dev?

    Hi, I'm learning VBE2005 along with SQLServer Express 2005 from scratch; are there tutorials or basic examples on how to do typical DB aplications using Master/Detail grids, lookup table fields, etc My last programming background was Delphi 6 using dbExpress and talking to PostgreSQL and Interbase. Thank you, Guillermo Good examples in Chapter 4 for database stuff but good general book on VB as well. http://msdn.microsoft.com/vbasic/learning/introtovb2005/ General Learning webcasts with examples http://msdn.microsoft.com/vstudio/express/vb/learning/default.aspx Learning more about the underlying database access code which will be ADO.NET http://msdn.microsoft.com/library/default.asp url=/library/en ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. New version of Octtree Game Component

    I just uploaded version 0.1.2 on filefront http://hosted.filefront.com/ClydeCoulter in the XNA folder. I'm still working with CodePlex for a project there. (I think they thought it was for the same project since Quad and Oct were the only part of the name difference). I have made several fixes to and add more support for the OcttreeGameComponent class and added a simple example of the same in the TestOcttree1 project. I really would like some feedback on this project and the Quadtree project since there have been lots of downloads. How are you using it Are you using it or just curios Problems Enhancement that you have made....etc.... Post to answer this post or use the Forum at the quadtree project on CodePlex for both proje ...Show All

  • Visual Studio Team System VS2003 against TFS

    Hi, I have migrated VS2003 project from VSS to TFS. I have installed MSSCCI Provider for connection with TFS from IDE VS2003. In IDE VS2003, I have connected to TFS. When I checked out some file under Source Control, then I changed it and Checked in, this file, project and solution kept in check out state. And I might to do undo check out. Sometime, this action made the problem, by rolling back the actions, which I did. I have also noticed that, TFS made double folder structure to local folders (It was copying parent folder to new folder which had the same name as parent folder), because TFS added new mappings to current workspace. It's expected behavior And what can I do instead of undo check out Thanks Janko Hi, ...Show All

©2008 Software Development Network