icewill's Q&A profile
Game Technologies: DirectX, XNA, XACT, etc. Graph shader?
I am trying to draw the FPS in a graph. For that I want to pass the shader effect a 1D texture, but it isnt very simple. I understand I need to use a sampler Does the steps of passing and using a 1D texture (or sampler) similar to those of passing and using a 2D texture Or do I need to do it differently For a 2D texture I have the SetTexture method for an effect, but I dont have the equivalent for a sampler or some sort of a 1D Texture which I dont know about. How do I achieve this Thank you. Well, there is a possiblity of non power2 textures, but I think the way they are implemented is that they allocated a power2 texture that is bigger then the required texture. And not all the grap ...Show All
SQL Server SQL EXPRESS - WEB ASSISTANT Sp's
I ve installed SQL EXPRESS ADV on fresh XP and I get this error when I try to run xp_makewebtask: Msg 17750, Level 16, State 0, Procedure xp_makewebtask, Line 1 Could not load the DLL xpweb90.dll, or one of the DLLs it references. Reason: 1114(error not found). (1 row(s) affected) I checked and xpweb90.dll is missing... but I do have the option to enable then... They took them out Or smthing is wrong on my pc (2 installations same problem) I also have a standard edition and developer edition wich are working fine. I tried to copy the files but I get same error /// Thks in advance for any help Thks for reply Mike, I knew about removal, but like I said : -I couldn t ...Show All
Visual Studio Express Editions Web Broswer - Detect the Title of Website
Ok, so I am creating a simple web browser, and I would like my window's Title to display {WEBSITES TITLE} + Web Express. For example, if I were at this site , I would like my browser's title to display "Visual C# Express Edition - MSDN Forums - Web Express". But the problem is, I dont know how to detect the Title of the websites :(. I dont even know if its possible, well...it must be if Interent Explorer can do it :), so i guess my question is: How do I detect the "Title" of Websites Try this: Form1.ActiveForm.Text = webBrowser1.DocumentTitle; ...Show All
.NET Development Please help -> Invalid uri: the hostname could not be parsed
I have this problem in some machines acessing a webservice from a VB app that uses a VB.Net wrapper class. The app works fine in others machines. But in someones I get this error when I try to consume the webservice : invalid uri: the hostname could not be parsed Thanks in advance. Hi Nathan, The problem is ok now. What was it : my .Net Class have properties like : proxyAdress, proxyUser and proxyPass. When working under a Proxy all was ok but without a proxy I had an error. Cause : whithout a proxy the VB6 app was setting the ProxyAddress with an empty string ( proxyAdress = "" ) and for some reason the .Net class was receiving something diferent and trynig to set an incorr ...Show All
Visual C# Mysql with c#
Hi.. friends. I'M with a problem in my variable. See this code. public static void Insert_SQL( string nick, string email, string nome, string datanasc, string ruaenumero, string bairro, string cidade, string cep, string pais, string sexo, string estado, string home_page) { string table = "clientes"; MySqlCommand com = new MySqlCommand(); try { com.Connection = Conexao_mysql(); com.CommandText = "INSERT INTO " + table + " (nick,email,nome,datanasc,ruaenumero,bairro,cidade,cep,pais,sexo,estado,home_page) VALUES ('nick', 'email', 'nome', 'datanasc', 'ruaenumero', 'bairro', 'cidade', 'cep', 'pais', 'sexo', 'estado', 'home_page')"; com.E ...Show All
SQL Server problem in executing package in production environment
hi all! This is my problem. My package executes fine when i set the connection string with the same database where i execute the query. If i execute with another database connection stirng if fails bacause while executing the pacakge it trys to access the same connection string at design mode. when i try to execute through cmd prompt by setting \conn <new database connection string> it fails. Is package configuration is the only solution. how can i change conn string depending on different server Any help would be appreciated. Thanks, Jas i am currently trying to set the variable with the /set and give connection string as /conn but when i do it another environment and change the c ...Show All
Software Development for Windows Vista ActiveX OCX / Registry call fails
I have an ActiveX OCX that runs in a web page. It works fine except when run under Vista. The call that fails is RegConnectRegistryW. The return error is 1346. Meaning "Either a required impersonation level was not provided or the provided impersonation level was not valid". This call fails when attempting to return any hive handle --even a local hive handle. Obtaining hive handles via another fashion isn't possible as the OCX needs to be able to remotely connect to other system's registries --whether they be Vista or less. I'm pretty sure the cause for the error is due to insufficient rights and that the process which calls this API needs elevated privileges. How can I accomplish elevating this process Can I use a manifest file ...Show All
Visual FoxPro VFP9 anchor bug
I set anchor in my class cs. I have a program in vfp code to create a form. I created a control object using cs and give a position in init method of the my form. Running result: The control object position is always on the left top of my form when I run my form. If you have an object with an Anchor value other than 0 and you want to move it programmatically, you need to save the Anchor and reset it after moving: For example: nAnchor = This.Anchor This.Anchor = 0 This.Left = 57 This.Top = 36 This.Anchor = m.nAnchor Tamar ...Show All
Visual Studio Tools for Office Does the Tools for Office edition still have the ability to build and deploy traditional VS applications or .NET websites?
Wrote an email to a college for advise about which version of Studio to upgrade to from 2003 professional I am asking for an upgrade of Studio for next year. Thinking that the "Visual Studio Tools for Office" might be better for me that the regular "Visual Studio Professional Edition". Main difference is that I only get vb & c++, and no Crystal Reports", but I get "Office Access 2003 Developer Extensions". College wrote: That sounds like a good idea at first, but I'm not sure that you assumptions of the capabilities of the Tools for Office edition on its own is entirely accurate. I am suspicious that you will only have the ability to build MS Office applications with the Tools for Office. I am not cer ...Show All
Windows Forms ClickOnce seems doesn't work
Hi all, I'm newbie with ClickOnce. I have an application I'd like to update by web. I've tried to install it and then deploying a newer version and test id somethings happens... tha application runs normally. In which way I can test the ClickOnce functionality and what have I to check in my app settings. I've made the CD installation and installed it, what do I have to do now If I check the FTP site it has the right files. I've chechek the "before application starts" option to perform the updating check. I hope you can help me. TIA for any suggestion, examples or tutorial about it. Dario Hi Dario, Sorry didn't follow all the way. Here are some of the links that has simple ...Show All
SQL Server Populating staging table using SSIS
Hi, I have a flat file with columns from a geographical hierarchy such as: Country Zone State County City Store Sub Store , etc. The file also has data columns for months to the right of the above columns such as: Jul Aug Sept ......... basically 25 of these columns for two years' data for one product and another set of 25 columns for another kind of product. A typical record in the file looks like: Country Zone State County City Store Substore USA Southeast FL Hillsborough Tampa walmart Fletcher May04_ProdA ....Jun06_prodA May04_ProdB...Jun06ProdB 144 160 180 158 I need to upload this data into a staging table in SQL Server 2005 ...Show All
.NET Development Web Services XSD Return Type
Hi, I'm trying to develop a web service that spits out xml data using an xmlwriter. It conforms to a schema so I was wondering if there was any way to do this easily in c#. I was thinking something like: [WebMethod returnType("sample.xsd")] public string MyMethod () { //create a string using an xmlwriter and return the string } or something like that. Is there anyway to do this The reason I'm trying to do this is so that I can iterate through a datareader from a database and create an xml document representing the results (basically converting a sql stored procedure into a webservice). If anyone knows of the best way to do this let me know. Thank you, dg Thanks for the feedback. I don't wa ...Show All
Software Development for Windows Vista Shell Extensions?
In Vista Beta 1 our shell extensions worked but in beta 2 Build 5384 it no longer works. I found some mention of Like all COM objects, Shell extension handlers must implement an IUnknown interface and a class factory . Most must also implement either an IPersistFile or IShellExtInit interface in Windows XP or earlier. These were replaced by IInitializeWithStream , IInitializeWithItem and IInitializeWithFile in Windows Vista. The Shell uses these interfaces to initialize the handler. In some msdn documentation but I can't find any samples. Anyone have any information Thanks. If you wrote your context menu correctly, none of the Vista changes should affect you. The Vista changes only affect people who wrote the ...Show All
Smart Device Development How to zoom pictures on WM2003 and WM5.0
Dear Sir, I would like to develop an application on windows mobile 2003 and 5.0 of the following features: 1, The camera shot a picture and display it on the mobile device’s screen. 2, Since the resolution of the device’s screen is usually much poorer than the picture, users would like to zoom it. The scenario could be designed as following: there are a small circle on the snapshot of the picture. Users are capable of moving it via keys. When selected, the screen display the zoomed portion of the picture. I am a beginner of windows mobile developer, I am not acquaintance with the resources of windows mobile sdk and .net compact frame work. I could you tell me how to realize the above effect as well as t ...Show All
SQL Server Timestamping at record create
is there a way that when a record is entered into a table, that I can get it to timestamp itself Davids Learning Wow, I certainly wasn't trying to make you feel as though you were wrong and I was right. A "timestamp" is a valid datatype in SQL Server so when someone says they want to add a timestamp to the table, it has nothing to do with using a "datetime"-based datatype; that's really all I was trying to impart. A "timestamp" in SQL Server looks like this: 0x000000056A. We all knew what the implied definition was/is but I was just trying to help someone update their vocabulary so as to make life easier hehe What tool are you using to make the change I don't know which tool would give that type of ...Show All
