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

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

Fiddel

Member List

soul creator
GS80
JDAnthony
AlxJ
DonMartin
Kevin Rodgers
Larry.Daniele
dindelus
rguarino
INTPnerd
Zakamon
gkostel
moemoe
TheViewMaster
Sterling Swartwout
fabianus
Amjath
sticksnap
jss3426
zxdgsadf
Only Title

Fiddel's Q&A profile

  • Game Technologies: DirectX, XNA, XACT, etc. Trouble using Asteroid Models

    I'm trying to use the asteroid model from the SpaceWar template, but when I try and render the model, it comes out being mostly transparent. I've copied all the content over from SpaceWar, but it still doesn't work. I used almost the exact same code on one of the spaceships, and it worked fine. Can someone tell me what I'm doing wrong Here's all of unfinished code for the asteroid...  #region Using Statements using System; using System.Collections.Generic; using System.Text; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Audio; using Microsoft.Xna.Framework.Content; using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Input; using Microsoft.Xna ...Show All

  • Software Development for Windows Vista Get "NextState" in Invoke event

    In a state, there are several EventDrivenActivities, in each EventDrivenActivity, there is a HandleExternalEventActivity and a SetStateActivity, for the HandleExternalEventActivity, there is a corresponding Invoked EventHandler, I want to do something in it, and the first thing I want to get is the TargetStateName of the SetStateActivity in the same EventDrivenActivity just below the HandleExternalEventActivity. Try the following in the Invoked handler, assuming the SetState you are looking for is setStateActivity1: string nextState = (( SetStateActivity ) this .GetActivityByName( "setStateActivity1" )).TargetStateName; ...Show All

  • Visual C# SecurityException

    Hi, I got the security exception in underlined code: string sAppProgID = "Excel.Application"; object oExcel = null ; try { oExcel = Marshal.GetActiveObject(sAppProgID); } catch (Exception ex) { MessageBox.Show(ex.StackTrace); try { Type tExcelObj = Type.GetTypeFromProgID(sAppProgID); oExcel = Activator.CreateInstance(tExcelObj); } catch (Exception ex2) { MessageBox.Show(ex2.StackTrace); return ; } } Why is it happened and how can I solve it Thank's Alexei Hi, I am getting error System.Security.Permissions.SecurityPermission, mscorlib, Version=1.0.5000.0, Culture=neutral How to solve it Thank's Alexei ...Show All

  • SQL Server SSIS and the Receive Command

    I built a system where I am sending batches of messages using a single conversation. I want to pull these messages out of my queue using Service Broker. I may have more than one batch sitting in the queue waiting to be picked up, so.... In my SSIS package i started by getting a unique list of conversation_handles where the message type is my end of batch message ( should only be one per batch). Then I used the foreach loop construct thinking I could pass the conversation_handles around and into the data flow. In the data flow I want to pull all of the messages at once. It looks like the receive statement is designed to do this with the concept of using a table variable. So I built this SQL to use in for the SQL Command of my OLE ...Show All

  • Visual Basic [OTP] Missing: ReportBuilderAddIn 1.0 Type Library

    Hello, Problem occurs within Excel 2003, whenever entering a formula I get "Can't find project or library" Under Tools - References I see I'm missing ReportBuilderAddIn 1.0 Type Library. I can't uncheck it and I'm not sure where to browse to find that Library. Can anyone help Kevin These forums are for VB.NET questions. The VB within Excel is Visual Basic for Application. VBA is a very different product from VB.NET and there are some other locations where youy will probably get a quicker and better response to your VBA questions. Y ou may find more assistance in following which specifically deals with VBA development. http://forums.microsoft.com/MSDN/ShowForum.aspx ForumID=74 ...Show All

  • Internet Explorer Development block a website with bho give an error

    Hi all i m develop a application in vc++ using ATL/BHO name websapher to block a website from childrens. it work greate but some time it give me error and close the explorer. please help me to make this usefull. my code is: STDMETHODIMP CBlocker::SetSite(IUnknown* pUnkSite) { if (pUnkSite != NULL) { // Cache the pointer to IWebBrowser2. HRESULT hr = pUnkSite->QueryInterface(IID_IWebBrowser2, (void **)&m_spWebBrowser); if (SUCCEEDED(hr)) { // Register to sink events from DWebBrowserEvents2. hr = DispEventAdvise(m_spWebBrowser); if (SUCCEEDED(hr)) { m_fAdvised = TRUE; } } } else { // Unregister event sink. if (m_fAdvised) { DispEventUnadvise(m_ ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Reflection - Assembly.Load generates error

    I seem to be experiencing some trouble with Reflection, specifically I am trying to load an assembly and call foo.EntryPoint.Invoke on it, but when I call Assembly.Load, I get: System.BadImageFormatException was unhandled Message="Could not load file or assembly '90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format." Source="mscorlib" FileName="90112 bytes loaded from TestReflection, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" FusionLog="" StackTrace: at System.Reflection.Assembly.nLoadImage(Byte[] rawAssembly, Byte[] rawSymbolStore, Evidence evidence, StackCrawlM ...Show All

  • Community Chat Welcome to Hot Technology!

    The MSDN Forums have been around for over a year now, but up until now, there hasn't been a place that isn't for question and answer style help. Well--that's all changing, starting now! Welcome to the Hot Technology forum! This forum is your place to share your thoughts about development, technology, Star Trek, and anything else wonderful and geeky! Here are the ground rules: Be Respectful - This is first and foremost. This forum is a place to share and learn and chat--but not a place for flame wars. If you flame here, you'll be banned from the forums. I define flame as any thread that contains a personal attack, inappropriate language, or anything else that we learned not to do when we were eight years old. Please follow this rul ...Show All

  • Windows Forms Argh: Label.Padding.All

    Hello, I have a label on my form 'lblMyLabel' and all I want to do is set the Padding dynamically lblMyLabel.Padding.Left = 0 or lblMyLabel.Padding.All = 0 Why do I get the following compile error Error 103 Expression is a value and therefore cannot be the target of an assignment. Regards, Luc Pettett Hi Luc, Padding is a structure (struct); you'll have to set whole new struct at once: label1.Padding = new Padding (2); label1.Padding = new Padding (2, 0, 0, 0); Andrej ...Show All

  • Visual C# Security for my application...

    Not sure where to post this so I guess here Anyways, I see in new applications that they use an authorization tool. Can I get something like this for my new application If so, where and what I'm looking to help prevent piracy of my new application. Thanks, Devin I've actually made my own webservice which authenticates the user. Basically you have a list of usernames which are legal and illegal. So now when time comes for them to enter username/password, the webservice will be called giving in the credentials, the webservice checks SQL For: is the username in the illegal list If not..... does it exist in the legal list if so.... does the password match if so.... return true; el ...Show All

  • SQL Server Maxis 3G connection

    I cannot connect to SQL Server 2000(Remote Server) through Maxis 3G connection. I'm using Windows Application to connect to SQL Server 2000. dim strsqlcon as string = "Server=000.000.000.000;databse=dbname;usr=sa;pws=1234" dim sqlcon as sqlconnection = new sqlconnection(strsqlcon) sqlcon.open() "It's Error : Sql not exist or access denied." But I can connect to SQL Server 2000(Remote Server) through Local Area Connection. Have any solution Thank you. Error : "Connecting To x.x.x.x ...Could not open connection to the host, on port 1433: Connect failed." How do i open the port ...Show All

  • .NET Development How to get the relationship between 2 given tables?

    Hi, I'm having scenario where my application will let user select tables from a list of tables. Then based on table selection i have build a sql query to get the records from these tables. My question is how to get the relation between these tables. I need to get the relation between these tables in order to build the where statement. Example if user select roles and user_roles tables i need to know which fields in these 2 tables that have relation link. i mean the primary key and foreign key. Hi kbradl1 , Thanks for the tips. I will try that and will post the result here! Best Regards Bala ...Show All

  • Visual Studio 2008 (Pre-release) Drawbacks with "Add Service Reference"?

    Hey! I have built a contract(classlibrary) that my host(consol application) are hosting, then i have used the "Add Service Reference"(Orcas) on the client(winform) which will eliminate the need of manualy use svcutil.exe. It also generates a correct app.config file with the right adr and binding rightaway insted of demand a manual touch. 1. My question is, are there any drawbacks with "Add Service Reference" 2. Will the app.config be generated every time 3. Is it still prosible to use SvcConfigEditor.exe and SvcTraceViewer.exe to log message flow Hi #1: No there are no drawbacks with using Add Service Reference. If you want more control on what you want to generate and want to ...Show All

  • SQL Server Database Login fails

    Hi I can logon to my Sql server using the SSMS management tool, I am using Windows Authentication to logon to SSMS. Create a database OK, with all the necessary tables. However when I start a VB Express app and try to connect to this database I get an error that login filed for user AMD\Larry, AMD is my PC name and my login (Larry) is the computer Administrator logon. The PC is a standalone ie not part of a domain etc. Can anyone help Regards. Larry. Are you also using integrated Authentication in VB Express. Make sure that you don’t really *type* in the user as this will be recognized as a SQL Server login. Integrated login is done in the background and don’t have be typed i ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Problem rendering with vertex buffer

    Hi, I'm trying to draw a textured square to the screen using ManagedDX 1.1. Unfortunately, the DrawPrimitives call is giving me an exception, but all the error message says is "Error in the application" which is not very helpful. I really have no idea what is wrong, because this was working before and it's stopped working when I was reorganizing the code in my classes. I've pasted the two functions which I think are relevant, if anyone has any suggestions I would greatly appreciate it. (also, the code below seems like a terrible way to update the data in the vertex buffer, if anyone could point me to a "more correct" way of doing things that would be good too :) public override void Draw( Point dest_pt) ...Show All

©2008 Software Development Network