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

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

Aspiff120

Member List

ukrob
Aadi1
TiborK
ANB_149
GeoB
Uturn
dc75
honey1016
Valmont
George Waters
Ultrawhack
bhavu
CJira
PhilipDaniels
黄达
Anzol
NeederOfVBHelp
Jonathan Rajotte
Gert-Jan van der Kamp
fschaller
Only Title

Aspiff120's Q&A profile

  • Visual Basic Working with an array of structures

    I am having problems creating and using an array of structures. Please tell me if my logic is faulty. Friend Structure NewStructure Friend A as string Friend B as string End Structure I next create my array name: Friend MyStructure(5000) as NewStructure Next, I create my array of type NewStructure For i =1 to 100 MyStructure(i)=new NewStructure MyStructure(i).A="LaLaLa" MyStructure(i).B="DoeRayMe" next i Redim Preserve(i-1) Now, I should have an array of 100 NewStructures which is shared across my project. Does this procedure look correct Thanks, Fred It would be helpful if you'd tell us what problem you have. However, I see a couple: - Arrays start at index 0, you start f ...Show All

  • Windows Forms Click Once deployment issues from TFS Build

    I am trying, for a while now, to publish a VS2005  win app to be available using click once deployment.  Basically it is the application from   Mike Bouck's RAM  blog. I added this solution to TFS and created a build type integrating the deploy.proj file supplied by Mike Bouck's RAM  solution. When the application is 'Team build' (Trying solution build  by TFS, and devev /rebuild and MSBuild using corecompile target override in the tfsbuild.proj file), t he build process runs fine after modification of the Deploy.proj file for my environment. Deploy to the virtual root is subsequently successfull.  The issue here is that when i try to install the app from the publicationu ...Show All

  • Visual Studio Express Editions DataGridView Manipulating data

    Hi I want to use a DataGridView as a report for a system I'm designing, I don't want to bind it to a database and I don't have the know how yet to figure out how too... although it would help me out soo much! basically all I want to do for now is be able to change the header of the table (which at the moment only seem to be changable in design time) and then to add data to how ever many cells are required. thanks Ah thanks man!! I'd like to ask you something else not sure if I should start a new thread or not though.. I want to create a database without having to implement an SQLserver enviroment is this possible can I still have a single DB that follows my app around and then how do I bind it to ...Show All

  • Visual Studio Build RollBack

    Hi, i’m trying to generate a kind of rollback, I use the beforebuild to checkout from sourcesafe the assemblyinfo file and change the file version. And the afterbuild to chek in that file. But i need to do a undocheckout if build fails, someone have any idea of how to do that , because after the fail i can’t catch any target to run the rollback Any crazy idea will by appreciated. Thanks There is no need for you to go edit Common.Targets just for that, just add the necessary bits in your own project file, or if the same thing goes in several projects, then put it into a file of its own (commonly named .targets) and <Import .../> appropriately ...Show All

  • Visual Basic A Web Browser thing?

    How do I set up the web browser. With the address text box n' stuff HELP Is this a programming question You can put the web browser control into a form, and also put a textbox which you can use to set the current URL by hooking into events on the web browser control and the text box itself. ...Show All

  • Visual Studio Batching and meta data

    Hi guys, i used to think batching was stupid, but now i think it is rather useful :) I have a bunch of WiX project files that need to be built into MSIs, and i am trying to achieve this with batching. My problem is how to access the custom metadata of each item. Here is an example: <ItemGroup> <WiXProjectFile Include="MyProduct.wxs" > <TargetObjectFile>MyProduct.wixobj</TargetObjectFile> <LinkableObjectFile>wixui_mondo.wixlib</LinkableObjectFile> <LinkableObjectFile>another_lib.wixlib</LinkableObjectFile> <LanguageFile>WixUI_en-us.wxl</LanguageFile> <MsiName>MyProduct.msi</MsiName> </WiXProjectFile> </ItemGr ...Show All

  • Internet Explorer Development Add existing codes to web project

    hi all, in visual studio 2003 I tried to open existing web project I click File --> Open --> Project from web and enter http://localhost/WebProject1 in the input box, then another browser popped up and asked me to choose a project file (*.sln....etc) however, existing code doesn't have a project file or solution file. What now regards ...Show All

  • Visual Basic I Need Help With Drop Down List Boxes

    i was wondering if someone knew how to set drow down list boxes = a value in the table that is pulled up by the main drop down list box. I have a tracking No ddl that is sopposted to populate the entire table with the values for that record in the table. i have it where it will fill in the text boxes but the other ddls in the table are being filled by other tables that are f-keys in the trackingNo table. I now need the trackingNo DDL to select the right value for the other tables. here is the code for the ddlTrackingNo and see if that helps you help me... Please any help is welcomed.... Thanks, WoFe Private Sub ddlrackingNo_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ddlTrackingNo.Selecte ...Show All

  • SQL Server Cannot set connection password via expression

    Hi All, Why would I not be allowed to use an expression to set a password of a connection I have a variable called _FTPPASSWORD who's value is set via config file. Why can I not set the connection's password value I use this method for everything else... What does not make sense is that I can save the value of the connection's password to a config file. Thanks ...Show All

  • Smart Device Development hook Keyboard , to AlexY and any helper

    Hi, Could anybody tell me please how to use Alex Yakhnin hookkeys class. http://blog.opennetcf.org/ayakhnin/PermaLink.aspx guid=84b95802-76d7-499c-b266-e2251ab15706 i want my application to detect any key pressed in the keyboard, even if the application was in the background. thanks in advance. This is done on the application level. The CF v2 includes the KeyPreview property that enables receiving the keypresses from any control on the form. ...Show All

  • SQL Server Sql Server Express - Shared Hosting - Connection String - What do you guys do?

    Hey, I have a asp.net 2.0 app that has a sql server express backend. I have been scratching my head for weeks trying to find a good wasy to encrypt my connection string. I store the string in web.config (which in itself is in theory "safe" because it's not servable) and I have scoured the web to try to find a simple way to encrypt the connection string. Even using user store would require running aspreg_iis.exe on the host with a command prompt (which clearly I cannot do). It seems that everyone's solution requires running a command prompt executable on the server. So I am left to wonder what everyone else does. I am not comfortable using just the web.config because a determined hacker could get to that info. Then again, a determ ...Show All

  • .NET Development insert rows from datagrid into database

    hi! in my datagrid there are multiple records that needed to be inserted to my database. my problem is that it would be inserted to only one row and it would depend on the id. for example: - the datagrid will have 3 columns (student id, subject, grade) the rows will be (2006-01, Math, 88), (2006-01, English, 87). - the database has 5 columns (student id, math, english, science, history) -- i need to insert the grade in their corresponding columns based on student id.  how could i do this i'm really confused right now and any help is appreciated.. I guess that you could use foreach(DataGridViewRow row in dgvRelationSearch.Rows) { foreach(DataGridViewCell cell in row. ...Show All

  • .NET Development Catch exception: The Microsoft Jet database engine could not find the object

    Hi group, First of all: isn't there a general ASP.Net forum Second: I've got an ASP.Net (VS2003) website. At some point I want to open an Excel sheet. However when the file doesn't excist i get the following error: The Microsoft Jet database engine could not find the object 'D:\hello.xls'. Make sure the object exists and that you spell its name and the path name correctly." The Error occurs here: string connectionString = string.Empty; connectionString = @"Provider=Microsoft.Jet.OleDb.4.0;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1"";data source=" + filePath; OleDbConnection oleDbConnectionCSV =new OleDbConnection (connectionString); oleDbConnectionCSV.Open(); I wan ...Show All

  • SQL Server Owner for jobs(Sql2k)

    I’m looking for the owner of our scheduled jobs but I can’t work out; Sysjobsteps, sysjobs, sysjobschedules Sysjobservers, etc.. and neither of them I’ve been able to find this value. I saw owner_sid in hexadecimal notation, nothing else. Does this search make any sense otherwise sql encrypt this data Where this data stored is Thanks for any comment or though, ...Show All

  • Windows Forms Mouse inside or outside the client area

    Hello everyone, How can I check if the mouse is inside or outside the client area.. To be more specific I have tried to make a calculation for inner controls but this do not work for the Form. I also tried to add a MouseLeave event which sets the mouseInside boolean to false and a MouseEnter event which sets the same boolean to true.. But interestingly when my mouse is over a control inside the Form the MouseLeave event is fired.. I am doing a drag-drop operation and I need to know when the user tries to drag something outside the main form. Is there a way to achieve this Thanks in advance and best regards ! About a year ago I blogged about this on my companies blog. Unfortunately the blog no longer exists but I search fo ...Show All

©2008 Software Development Network