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

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

Tryin2Bgood

Member List

DazlerD
Rafak
Phillip Turner
Suman Ghosh
John CHLee
Gianni Marzaloni
kamkam2
Charles Tam
Mike737Aviator
Jens K. Suessmeyer - MSFT
Sal1
soloryan
Gnanadurai
chiomike20000
Matt1001
kevincad
fathi S. Elashery
monolith1986
LeoXue
suneelkumar
Only Title

Tryin2Bgood's Q&A profile

  • Visual Basic Streamwriter in VB 2005

    This SHOULD be easy. I must be missing something. I'm assembling a long string and trying to write it out to a file. If I display it in a message box or textbox, it looks fine. But when I write it out to a file, it gets chopped off. I thought it might be my data, because it is supposed to be HTML, but it seems to be related to the amount of data, because it chops off at about the same number of lines no matter what the data. I tried breaking it into smaller strings and doing two writelines, but it still does the same thing. lname = names(1) outFile = "D:\Class of 57\updatehtm\" & lname & ".htm" output = New FileStream(outFile, FileMode.OpenOrCreate, FileAccess.Write) fileWriter = New StreamWriter(outp ...Show All

  • SQL Server the owner of the table

    Hello, I need to user full name for the table as seen below. SELECT @RowCount = COUNT(*) FROM T1 c INNER JOIN [MyInstance].MyDB.dbo.T2 b ON c.T1_ID=b.T2_ID T2 may be re-created by different users, how can I get this working for all users if the creator is not dbo In SQL Server 2000, you can create a view under dbo schema, gfrant SELECT on view to users and change the definition whenever the table gets recreated. You can do the same in SQL Server 2005 via a synonym. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Humorous but somewhat serious question about XNA

    Microsoft has claimed the Nintendo Wii as a "kids toy;" however, if XNA can produce graphics and push performance up to what the Wii is capable of handling (games like Half-Life, Sims 2 from most XNA performance claims), does that mean that XNA is a kids toy too Edit: I'm going to go ahead and use XNA. Sure, it may not be the fastest thing in the world for making games such as Oblivion, but if it's any company that can boost performance heavily in later versions, it's Microsoft. It has already been seen with DirectX and DOS, so I'm comfortable enough to say why not. Version 1's are usually "out the door" products. I shouldn't speculate too quickly, but it'll do the job for this upcoming game. I'm sor ...Show All

  • Visual C# c# desktop power point like application with ftp component

    Hello to all any body please give me suggestions about this application hello bhanu actually the user may place media clip . image or text any thing on the slide saving opening, every thing is ok , but when the slide is opened i am wrighting the media clip content in a temp folder and passing the path as url to windows media clip control. then it is showing exception like System.Windows.Forms.AxHost.InvalidActiveXStateException was unhandled Message="Exception of type 'System.Windows.Forms.AxHost+InvalidActiveXStateException' was thrown." Source="AxInterop.WMPLib" can u please help me thanks in advance. ...Show All

  • SQL Server SQL Time Out Problem

    Hi All, we have got a serious problem in our production environment with SQL server. We are using vb.net as a front end. and its a windows service.It keep on polling for the data in one DB server. And if the items are ready(identified by some flag), it will be exported to another server. But its workin fine with the small volume data.We have tested this with the huge volume data. And everytime it throws an error "Sql server timeout expired". Even if there is no items to export. it causes the problem during the search for the flag with this high volume data. And we are mostly using dynamic sql in our SPs.. can someone please suggest me how can i debug and troubleshoot the problem.. Thanks, your help is appreciated! ...Show All

  • Visual Studio 2008 (Pre-release) DataContract passing null values

    I am using WCF to build some web services. Passing strings seems to work just fine, so I'm on to passing a more complex data type. To keep things simple, I created a class with five public strings. I set up one web service to accept an object and one to send it out. In both cases, the object that comes across has five null strings. I have tried to follow some of the examples I have seen online as closely as possible. I'm hoping this is a common problem and there is some simple thing that I'm missing. Any ideas <DataContract([Namespace]:= "my.test.namespace" )> _ Public Class ItemInfo <DataMember()> _ Public ItemID As String <DataMember()> _ Public Branch As String &l ...Show All

  • Visual C++ syncronization?

    As i stated in my previous thread, I am new to VC++ and am creating one of my first applications. In this application i have a ListBox into which I allow the user to load a list of words from a file. I need to execute this on a separate thread in order to keep my Form as functional as possible incase a large list is loaded. However, when trying to access the ListBox from a separate thread, I get the following error: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll Additional information: Cross-thread operation not valid: Control 'LoadList' accessed from a thread other than the thread it was created on. What am i doing wrong I said I was new to ...Show All

  • Windows Live Developer Forums TileSource on server farm

    Hello All, I looked through the documentation but didn't find an answer. Does the NumServers parameter for tileSourceSpec apply when the tiles are served from a web farm It says that the severs need to be named Server0, Server1 etc.. which seems like it would force alot of people to rename servers :) Any help understanding the deployment aspect of tile server would be appreciated. TIA Andrew Thanks for the info Brian. I agree that us specifying the server names would be the a great feature. I guess the VE server makes calls to all servers simultaneously (in an async fashion) so having a server farm behind a load balancer would just look like one server to it and the tile rendering spe ...Show All

  • SQL Server Snaphot fails unless sysadmin fixed server role permission granted

    Edition: SQL Server 2005 Standard I am trying to take a snapshot of a database for use in a publication. The account under which the snapshot agent is running is set to have the db_owner role for the database and have write access to the snapshot share. I can not get the snapshot to run unless the account under which the snapshot agent is running is granted the sysadmin fixed server role. Because of the security implications of this, I don't want to grant these permissions. As far as I am concerned, the minimum requirements for the snapshot account have been met and I have tried every other alternate that I can think of. I've checked MSDN and the newsgroups but I still have not solved the problem. The error that I get when I run the sna ...Show All

  • Visual Studio Loading a crystal report file gives this errormessage: Load report failed.

    Hi all I've read through quite a lot of posts and threads regarding this issue but haven't found anything that matches mine to the point. I have problems when loading a specific .rpt file. It opens and runs in Cystal Reports and I have opened many other .rpt files without any problems. Therefore I assume that there is no path issues or access problems. So, the line which makes my head ache: CrystalReportDocument.Load(InputFile); // Loads the Crystal Report It gives me the following errors when I list out the exceptions (sorry for the spam, not too sure what is of importance and what is not): Thank you for the reply Dharmesh! I'm not sure it will help as I'm not running it on a webserver. I am running it in a ...Show All

  • Smart Device Development Convert bmp into gif using DOt NEt 2003

    Dear all, I'm using .Net 2003 bcoz my device os is CE 4.2. I want to Convert bmp file into Gif file in device. I know this is possible in .net 2005. but is this is possible in .net 2003 --- Thanks and Regards, It is possible, sort of... You see, NETCF V1 can't save images in any format, so you'd have to load bitmap and save it yourself in whatever format you want pixel by pixel. Knowledge of GIF format is required, but it’s easy to find. ...Show All

  • SQL Server Using variable in DataReader's SqlCommand text

    I'm attempting to configure a DataReader's SqlCommand text to use a package-level variable and I'm having trouble. I've read about using the "sql command from variable" option but although I see that during the configuration of Ole DB source, I don't see the same option for DataReader source. Viewing the properties of the DataReader and selecting the SqlCommand property does have button to configure the value but only displays a string value editor window. (I was hoping for the expression editor.) The configured connection to the DataReader uses the odbc Data Provider (under .Net providers). I'm connecting to mySql, if that matters. What I'm looking to do is to use a variable in the where clause of the DataReader's SqlComma ...Show All

  • Visual Studio Express Editions When to fill a datatable and can I empty the table?

    Hello once again. I working on an application that uses 32 separate Access datatables located in 4 files - 8 tables/file. The form that actually uses the data is a MDI child of my MainApp that opens upon initial execution of the application. Is there a way to load this data into the working datatable/dataset when the application is initially opened and then pass the data onto the child form when it opens Or is this even a good idea i.e. will this slow down my application The tables are not large. If I can only load when the child form opens or if it slows the app down too much is there a way to 'empty' the datatable after the data is used Don't know if this is possible or even neccessary. Thanks in advance. ...Show All

  • .NET Development Not updating database

    I have an application that contains a listbox and a text box. the list box obtains information from database table accounts.acctnm with a primary key 1-32. when i hit seems to update the dataset but if i exit and get back in everything is back to default Private Sub Manage_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'TODO: This line of code loads data into the 'KeoFlexDataSet.Accounts' table. You can move, or remove it, as needed. AccountsTableAdapter1.Fill(KeoFlexDataSet1.Accounts) End Sub Private Sub DeleteButton_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DeleteButton.Click AccountsBindingSource1.EndEdit() ...Show All

  • .NET Development Dealing with large changing strings

    Hi, I am using stringbuilder class to deal with large strings. I have a StringBuilder object which gets data from the network. From time to time (every time a packet arrives), I have to check if the StringBuilder contains some data pattern to perform some business logic. The problem is that this code does not scale - after receiving around 50-60MBytes of data the application starts consuming 1Gigabyte of memory and dies with out of memory exception. The logic is very simple: StringBuilder b = new StringBuilder() while (true) { string x= getdatafromnetwork(); b.Append(x); string datasofar = b.ToString(); check if datasofar contains a pattern. If yes, quit the loop. } The problem is that StringBuilder.To ...Show All

©2008 Software Development Network