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

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

xplosiv_1

Member List

chiraj
Michael_P2234
Guilherme Cestarolli Seleguim
averge joe
wilbour
omniscientist
Nneuromancer
P R W
JamesPK
Steven Matuszak
Chris Haas
Araki66
Sergei Sakhno
darrellp
Morias
clint 2
Divya Bhasin
CJ Clark
Philip Tolk
Jakein2006
Only Title

xplosiv_1's Q&A profile

  • Visual Basic Adding list items from delimited text file

    Back again with another Noob question.  My form will ammend user's input via text box to a delimited text file, but i want to get the info from the text file to show up in a listbox.  How do I accomplish this I already have the listbox on my form and have tried ... My .Computer.FileSystem.ReadAllText( "C:\Entries.txt" ) and Private Sub ListBox1_SelectedIndexChanged( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged Dim filename As String = "C:\Entries.txt" Dim fields As String () Dim delimiter As String = "," Using parser As New TextFieldParser(filename) parser.SetDelimiters(delimiter) While Not parser.EndOfData ...Show All

  • Windows Forms DataGridView + Fix Column

    Hi, I have DataGridView (C# 2.0) and I have a little probleme. In this datagridview, they are 13 column (First column for a description and others for each month of the year) When I scroll my vertical scroll bar of my datagrid, First column is hide and I can see other column. I want to fix my first column (As Excel sheet), and I want to make a vertical scrolling only in my month column. For example : I see these column in my datagrid : Description - January - February - March - April When I make vertical scroll I want to see : Description - February - March - April - Mei Thank for your help Damien, Hi I am guessing you mean horizontal scrolling. If it is, the following will help you. The is ...Show All

  • Windows Forms Help: Multiple forms vs MDI Application in VS 2005 express

    I'm a bit confused. I'd like to use different windows forms to show different views of a database. Would I use an MDI application, or many (main) forms in a "normal" windows application I assume that having many windows, means that one has to be displayed from another or from menu. Therefore many forms must be able to be open at the same time. Will that work The other benefit to MDI is that all of the other forms will be "within" the MDI parent. This allows the end user to minimize all app forms just by minimizing the MDI parent. ...Show All

  • SQL Server Creating an Indexed View

    I am trying to create an indexed view, on a date from a date dimension table...I am new to SQL, and I am at a loss of ideas on this one. Any help would be greatly appreciated! Here is the Error I am given "Msg 4513, Level 16, State 2, Procedure VEW_F_MZT_ORDER_HEADER_DAY, Line 3 Cannot schema bind view 'JJWHSE.VEW_F_MZT_ORDER_HEADER_DAY'. 'JJWHSE.VEW_F_INVC_SHIP_TO' is not schema bound. Msg 1939, Level 16, State 1, Line 1 Cannot create index on view 'VEW_F_MZT_ORDER_HEADER' because the view is not schema bound." Here is my code.. CREATE VIEW [JJWHSE] . [VEW_F_MZT_ORDER_HEADER_DAY] WITH SCHEMABINDING AS SELECT TEW_D_DT . DT_KEY AS DATE_KEY , VEW_F_MZT_ORDER_HEADER . LOCATION_KEY AS LOC_KE ...Show All

  • Visual Basic file rename in VB .net

    Hello I try to rename a file by file.copy(oldPathName, newPathName) then file.delete(oldPathName) File.copy works. But somehow, a message saying oldPathName is being used by another process, when it tries to delete the old file. Any idea why this happened and how to make it works. Thanks Quin Why not use the My.Computer.FileSystem.RenameFile Method to do the job rather than creating your own combination of copy and delete. There are more issues involved in recreating your own two step process such as timing, and fallback if failure occurs. I've found its almost always better to use whats available rather than trying to recreate the wheel. My.Computer.Filesystem.RenameFile htt ...Show All

  • Software Development for Windows Vista How to communicate from Workflow Webservice to Console Workflow host?

    Hi, Newbie question ... I am trying to write a solution that has a console application hosting the workflow runtime, and exposes a webservice, which, when called, creates a new instance of a long-running workflow, to be added to the runtime running in the console app. (the webservice is running on the same machine as the console app) I have created and exposed the webservice without a problem. However, I don't understand how to get access to the workflow runtime running on the console in order to create the new instance for the new long-running workflow. I'm SURE it's a dumb question with a REALLY simple answer, but any advice would be gratefully received. Cheers folks. Once you have expo ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. (search) 3d prog to create/edit *.x files directly

    Hy @ all. I'm searching a 3d prog to create/edit *.x files directly, without all the exporting/importing issues. The only one I knew is MeshX, are there any others gonzo883. As I mentioned in my post here , you can download Softimage XSI Mod Tool with the X file addon and import/edit/export at your leisure. ...Show All

  • Visual C++ Try This Code In VS2005

    Here is a very problem i came through while writing a very simple program in VS2005 Professional Edition. Try the following code: #include<iostream> using std::cout; int main(); { int i=0; cout<<(i+1)<<" "<<i++; return 0; } The expected output is:1 0 However,the output comes out to be: 2 0. When i tried the same code on dev-cpp compiler the output is as expected i.e 1 0. I think the above code is not compiler dependent .So why is this problem with VS2005 compiler Kindly provide a solution to this problem and try to give maximum details. lali.b2   lali.b wrote:        cout<<(i+1)<<"   "<<i+ ...Show All

  • Windows Forms FileIOPermission on My.Application.Info.DIrectoryPath

    Hi all, As the title suggests, I am getting a System.Security.Permissions.FileIOPermission exception on this line of code: ... Dim path As String = My.Application.Info.DirectoryPath ... I am calling this line within the Form_Load event of a Windows form. Do any of you have any idea as to why this is happening Thanks, Stephen. It sounds like your application is running in a security zone where the FileIOPermission is in some way restricted which doesn't quite work for DirectoryPath. What zone is your app running in Any chance of increasing it ...Show All

  • Visual C++ Memory leak

    I have a method that continuously reads 1MB of data from a hardware in a short period of time. I used a memoryStream data structure for this. In every call of this method, a memoryStream is created and used to read the data, and then it is closed and goes out of scope. These are my assumptions in this implementation: - The garbage collector will free the memory used for the memoryStream when its instance goes out of scope - The allocation for the memoryStream is done from the Large Heap objects, because of their 1MB size Therefore, I expected to see an increase in the memory for a short time until a gc collection of the 2nd generation occurs finally and the memory decreases. However, the result is different: ...Show All

  • SQL Server Creating full-text indexes on a table in a publication

    I have a table that is in a one way transactional publication. I need to create a full-text catalog on this table and have that catalog exist on the subscriber as well. I understand simply creating a FTC for an object in a publication will not cause that FTC to be replicated to the subscribers. I have scripted out the command and tried to use sp_addscriptexec to push it to the subscriber. When I do this, I get the following error: Last 183 characters in 'sqlcmd' output buffer: Changed database context to 'database'. Msg 574, Level 16, State 1, Server SQLSERVER, Line 2 CREATE FULLTEXT CATALOG statement cannot be used inside a user transaction. Also, when this script is run directly from the subscriber, it works fine (but since the subscribe ...Show All

  • Visual Basic VS 2005 VB Edit & continue problem

    When I am in break mode I cannot edit he code. The staus bar shows the following message "Cannot currently modify this text in the Editor. It is read-only" This worked previously, what went wrong. I'm using the 90 day Trail Version of VS 2005 Pro Hi, Another thing to try if you have this. Go to the debug tab of your projects properties page. If you have the option "Enable Unmanaged code debugging" checked, try unchecking it and then run your project. This fixed the problem for me. WD ...Show All

  • Visual Basic Minimum Permission Requests?

    Using VS2005 RC1, every time I create a project and add a reference to a DLL or control that resides on a different drive I get the following error either when attemting to run the program or when I first attempt to add the reference: ... Could not load file or assembly ... Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417) I'm an administrator- equivalent user and have full create/modify/destroy on both my local drives and all network volumes.  This seems to be the case when I create the project on my local C: drive and attempt to add a reference to something on a network mapped drive and when I create the project on a network drive and attempt to add a reference to a DLL on my C:.   I've ma ...Show All

  • SQL Server insert statement problem

    Hi all, I'm trying to calculate the data from one table and insert the results into another table. The queries are the following: 1. select top 5 userId, count(photoId) numOfPhoto from photo group by userId order by count(photoId) desc 2. select top 5 userId, count(photoId) numOfPhoto from photo where datesubmitted > DATEADD(dd,-30,DATEADD(dd, DATEDIFF(dd,0,getdate()), 0)) and datesubmitted < DATEADD(dd,-8,DATEADD(dd, DATEDIFF(dd,0,getdate()), 0))group by userId order by count(photoId) desc 3. select top 5 userId, count(photoId) numOfPhoto from photo where datesubmitted > DATEADD(dd,-7,DATEADD(dd, DATEDIFF(dd,0,getdate()), 0)) and datesubmitted < DATEADD(dd, DATEDIFF(dd,0,getdate()), 0) group by userId order by coun ...Show All

  • Visual Studio 2008 (Pre-release) Any Changes on dataContractSerializer for RC1?

    Im doing the same thing as http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=248320&SiteID=1 with RC1. need to load the type at runtime. here is my configure section < system.runtime.serialization > < dataContractSerializer > < declaredTypes > < add type = " myNS .BaseObject,TrackService,Version=1.0.0.0, Culture=neutral, PublicKeyToken=null " > < knownType type = " myNS.MyObject,TrackUpdater,Version=1.0.0.0, Culture=neutral, PublicKeyToken=null " /> </ add > </ declaredTypes > </ dataContractSerializer > </ system.runtime.serialization > I add it both in the service and client. but it still complaining at the receiver ...Show All

©2008 Software Development Network