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

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

Jules23

Member List

TomGoossens
Jon Royales
Sideout
wls1973
The Tick
Racsco
rskorski
Robert Kozak
dr.acv
Rattlerr
Lbo
n0n4m3
JMims
MichaelWard
aschaeffer
Jason_B.
Harkernator
Matt354245
XtremeISP
Ather.
Only Title

Jules23's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Blitting?

    I've checked through the XNA Documentation, but there doesn't seem to be any way to 'blit'. For those of you unfirmiliar with 'blit': Blit is a way to draw something. For example, say you create a "Texture2D" variable, set the size etc... But the texture is blank. The normal way to create a texture to this is to load up a bitmap image with it through the ContentManager, right But what if you want to use a whole sprite-sheet with many images Back to the blank, say, 65 x 65 bitmap image, you obviusly don't want this 2D image of the player to be a whole 1024x768 sprite-sheet. So this is where I used blitting in other programs, it basically asks for the x, y co-ordinates, and the length of the bitmap and takes a picture from that x,y and 'c ...Show All

  • SQL Server Efficient way of purging old data?

    I have a table with no primary key. The are 6 columns. The first four columns represent one object. There is then a status and a datetime (Updated). A new record is added into the table whenever a status changes (I need to keep the old status as well). The problem I have is how to efficiently purge old data. I need to keep all records with a datetime within the last week. I also need to ensure that I at least one status is kept for each combination of the first four columns. The table contains over 150,000 records. About 1,000 statuses change per day. I want to purge the data once a week - delete about 7,000 records. This is the query I wrote delete from table1 where Updated < (select max(Updated) from ...Show All

  • Audio and Video Development How can I split a stream one big, one small ?

    I have a win2k3 server running media services. I use a laptop with media encoder 9, and DV cams for a live stream of ball games to the server. Here at the college, we inject our games into the local cable tv and the quality is good. I want to also allow viewers to watch the game via the internet. Here's the problem.... The stream that I'm encoding is to large to be viewed over the internet. How or what do I need to do to push one large DVD quality stream out to the local tv station (this parts works good now) and take the same stream, and maybe reduce it's size, FPS and bit rate to something that will play on the internet Thanks Brian This isn't a Media Foundation question, but ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. no XNA Creators Club on xblive in france?

    hello, i am based in france and havent seen the XNA creator club on the marketplace yet. Am i not looking at the right place Or is it planed to be on later Thanks Yes, my understanding is it should be available in France. If you go to Xbox Live Marketplace you'll find it under Games then All Game Downloads, towards the bottom of the list you should see XNA Creators Club. ...Show All

  • Visual C# Application design question - data downloads from internet

    Hi everyone, I have been wracking my brain over this and simply can't seem to think of the problem any other way. So I thought I'd look to see how other people would approach the problem. Basically, what I'm facing is this. My application is intended to provide a GUI-based way to view data that is displayed on websites. This involves screen-scraping - downloading web pages and then parsing them for the data I want (no way around that, unfortunately). I have an object designed to store the parsed data, which is stored in flat files. The object returns the data when requested, or if the data hasn't been downloaded yet, it is supposed to download the data from the required web pages - this will happen when an MDI form is opened that requests ...Show All

  • Visual Studio 2008 (Pre-release) DLinq query performance

    Hi! I tried to do following : created database with table Order and insert 3000 rows in it. Then, i used sqlmetal to generate stuff. Then, i queried all orders with DLlinq and same thing with sqldataadapter. I used Sql server profiler to measure the execution time. And you know what - dlinq query took about 20 times longer than usual sql query (I didnt use stored procedures!). Is this normal and this is how thing are, or am I missing something here Thank You! This is how I query with SqlDataAdapter : DataSet ds = new DataSet(); SqlDataAdapter da = new SqlDataAdapter(); SqlConnection connection = new SqlConnection("server=localhost\\SQL2005;database=dt_rakendus; integrated security=sspi; Connectio ...Show All

  • .NET Development .NET Socket implementation

    Hi, I'm new to asp.net web application and also socket programming. I need help on socket programming. I want to create a asp.net web application page that can connect to the server using socket and for the data access part I need to use xml for communication between the server and the client applcation. The server connect to three databases and it acts as a middle man between the client and the database. The server is a program written in java. How am I suppose to do the socket programming inside my web application. Can anyone help me with that I really need help... As I can't find any good example on socket programming. Please help... Snow Ya. Hi the problem of receiving is solved. But now anot ...Show All

  • .NET Development MailSlots and FileStream

    I'm trying to create a MailSlot and use FileStream using BeginRead and BeginWrite to do async operations, but running into some issues. using Microsoft.Win32.SafeHandles; using System; using System.Runtime.InteropServices; using System.Security.AccessControl; using System.Collections.Generic; using System.Text; using System.Diagnostics; using System.Threading; using System.IO; [DllImport("kernel32.dll")] static extern SafeFileHandle CreateMailslot(string lpName, uint nMaxMessageSize, uint lReadTimeout, IntPtr lpSecurityAttributes); [DllImport("kernel32.dll")] static extern bool GetMailslotInfo(SafeFileHandle hMailslot, IntPtr lpMaxMessageSize, IntPtr lpNextSize, IntPtr lpMessageCount, In ...Show All

  • SQL Server SQL EXPRESS TIMEOUT

    The default is sest to 15 seconds that of course is no good because it takes more than that to attact the damm database though is very small. Does any one know how to modify the connection timeout I'd try including it on the Connection String but no luck. it looks like it detaches the database after a period of inactivity. If anyone knows anything about please let me know THANKS Thanks for the info here is the problem The database is attached by the ASP application I created it is a simple website to submmit information to a database the database in question here is the ASPLOGIN database not where the data goes. this gets set on the webconfig file on the root site, apparently it attaches e ver ...Show All

  • Windows Live Developer Forums Zoom -- all pushpins visibles (different layers)

    Hi, I cant put all pushpins visibles with diferent layers. Only appear the pushpins of the last layer. I read in other thread, that it is possible save the zoom of the "biggest" layer and put this zoom for other layers, but the command GetZoom() seems dont work. Anyone has some idea, how i can do it Tks buster Hi, When i put a layer with some pushpins, the zoom autoarrange and all pushpins of this layer are showed. But when i put another layer, the zoom is arranged to the pushpins of this last layer. What i want is one way to put the zoom to show all pushpins of different layers and not only the last one. Sorry the English... Thanks ...Show All

  • SQL Server Duplicates

    Hi! Grateful for some help as a newbie... I have a OLE db SQL command: SELECT DISTINCT convert (char(8),date,112) as day,...etc Resulting in error "Violation of PRIMARY KEY constraint 'PK_Dim_Date "... so Column Day in Dim_date contains duplicates. I suppose i need a delete in Lookup or how would I eliminate duplicates in Dim DELETE day from dim_date where day in(Select day from date ... This sounds like a transact-sql question, not an SSIS question. But, what is the primary key of the table Dim_date ...Show All

  • SQL Server Semi-Additive Account BUG

    Hi,   I'm having a problem with semi-additive measures when I try to change the value of a account (lastnotempty type of account), like these (it's in my cube calculation):   CALCULATE; scope ([Tempo].[Tempo]. ALLMEMBERS , leaves ([Entidade]), leaves ([Produto]), leaves ([Cenario])); ([Conta].[Conta].[ESTOQUE PREVISTO], DESCENDANTS ([Tempo].[Tempo].[Todos(as) Tempo],, leaves )) = ([Conta].[Conta].[PREVISAO DE VENDAS], [Tempo].[Tempo]. CURRENTMEMBER . PREVMEMBER ) + 100; end scope ;   It didn't do any thing, all the members of the scope still with the value null. But if I change the account type to flow that uses a sum to aggregate it works fin ...Show All

  • Visual Basic Cross-thread operation not valid: Control 'lbPacket' accessed from a thread other than the thread it was created on.

    Please help. Here is the error message I get when I run the application. System.InvalidOperationException was caught Message="Cross-thread operation not valid: Control 'lbPacket' accessed from a thread other than the thread it was created on." Here is the code: Imports System Imports System.Windows.Forms Imports System.Net.Sockets Imports System.Net Imports System.Threading Imports System.Text Public Class Form1 Public Listener As Thread Private Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load End Sub Public Sub Run() Dim len_receive_buf As In ...Show All

  • SQL Server Where is the database selection dropdown in Management Studio?

    Hi, I am a long time user of Sybase and SQL Server 2000, and have been trying to get used to the new Management Studio for the past few months. I have found many situations where I ended up in the wrong database, almost ending up deleting production data, etc. At this point, I am back to pasting temporary "use DB" clauses in my edit window just make sure that I am in the right place. Where is the eqivalent of the sql server 2000 database selection dropdown Also, how can I display the current database on the screen All I see now is the tab showing abreviated file and db, that I constantly have to mouse-over to see. It looks something like "DB........test.sql" thanks hel ...Show All

  • SQL Server How do I determine a measure's data type in an ADOMD cellset?

    Given an ADOMD Cellset how do I determine the data type of a cell such as currency, percentage, integer, etc. I have found no way of doing this other than explicilty looking for percent signs and currency symbols which is an inheritly BAD thing to do. I've looked through the properties arrays as well as tried different DIMENSION PROPERTY settings and have not found a way to retrieve the data types. Thank you, Terry I agree I was mixing terms to an extent, but the basic problem is that anyone visualizing OLAP data in a chart needs to know the type of the data (percentage, currency, integer, etc.) in order to format the axis. Inspecting the already-formatted value or parsing the format string is a very error prone and ...Show All

©2008 Software Development Network